Skip to content

Commit 24ce3b9

Browse files
author
Gareth Redfern
committed
add is_admin column to users table
1 parent 61cd742 commit 24ce3b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

database/migrations/2014_10_12_000000_create_users_table.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ public function up()
1717
$table->id();
1818
$table->string('name');
1919
$table->string('email')->unique();
20+
$table->boolean('is_admin')->default(false);
2021
$table->timestamp('email_verified_at')->nullable();
2122
$table->string('avatar')->nullable();
2223
$table->string('password');

0 commit comments

Comments
 (0)