From 932d439444f10774bff546923cc0a2e5e2f2857b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 20 Jul 2018 13:57:57 +0200 Subject: Rewrite (only for backend/oauth/api use from now on) --- .../migrations/2014_10_12_000000_create_users_table.php | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) mode change 100755 => 100644 database/migrations/2014_10_12_000000_create_users_table.php (limited to 'database/migrations/2014_10_12_000000_create_users_table.php') diff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/database/migrations/2014_10_12_000000_create_users_table.php old mode 100755 new mode 100644 index 0dd0011..689cbee --- a/database/migrations/2014_10_12_000000_create_users_table.php +++ b/database/migrations/2014_10_12_000000_create_users_table.php @@ -1,7 +1,8 @@ string('name'); $table->string('email')->unique(); $table->string('password'); - $table->string('avatar')->default('0.png'); - $table->string('prevHash', 60)->unique(); - $table->string('hash', 60)->unique(); - $table->string('api_token')->default(""); - $table->tinyInteger('verified')->default(0); - $table->tinyInteger('admin')->default(0); - $table->string('email_token')->nullable(); $table->rememberToken(); $table->timestamps(); }); } + /** * Reverse the migrations. * -- cgit v1.2.3