Skip to content

Instantly share code, notes, and snippets.

@BrightnBubbly
Created April 28, 2020 01:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BrightnBubbly/70cca59f62e82dc1bcaca6db9589d63a to your computer and use it in GitHub Desktop.
Save BrightnBubbly/70cca59f62e82dc1bcaca6db9589d63a to your computer and use it in GitHub Desktop.
Schema::create('users', function (Blueprint $table) {
$table->id();
$table->string('username');
$table->string('email')->unique();
$table->boolean('is_admin')->default(false);
$table->timestamp('email_verified_at')->nullable();
$table->string('password');
$table->rememberToken();
$table->timestamps();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment