Skip to content

Commit

Permalink
modify the user migration
Browse files Browse the repository at this point in the history
  • Loading branch information
levijackson committed Jun 23, 2021
1 parent e2d4698 commit cc70e05
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -19,6 +19,7 @@ public function up()
$table->string('email')->unique();
$table->timestamp('email_verified_at')->nullable();
$table->string('password');
$table->enum('role',['admin','author','user'])->default('author');
$table->rememberToken();
$table->timestamps();
});
Expand Down

0 comments on commit cc70e05

Please sign in to comment.