From 1ae38f7f50a31502909c91826488e6181ce07beb Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Tue, 6 Sep 2016 01:05:38 +0200 Subject: Added isadmin to users --- .../2016_09_05_230150_add_isadmin_to_users.php | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 database/migrations/2016_09_05_230150_add_isadmin_to_users.php (limited to 'database/migrations') diff --git a/database/migrations/2016_09_05_230150_add_isadmin_to_users.php b/database/migrations/2016_09_05_230150_add_isadmin_to_users.php new file mode 100644 index 0000000..e548420 --- /dev/null +++ b/database/migrations/2016_09_05_230150_add_isadmin_to_users.php @@ -0,0 +1,28 @@ +boolean('isadmin')->default(false); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() { + Schema::table('users', function (Blueprint $table) { + $table->dropColumn('isadmin'); + }); + } +} -- cgit v1.2.3