diff options
author | Camil Staps | 2015-05-24 22:09:13 +0200 |
---|---|---|
committer | Camil Staps | 2015-05-24 22:09:13 +0200 |
commit | 4a4b5e05576c68b382e5a6b19638da785cc81c45 (patch) | |
tree | 334a651073eea8672ddc93a96e5b9372c48c01f6 /src/migrations/2015_02_23_184402_botleaguesapi-create_users.php | |
parent | Password reminders (diff) |
Using email as id; User & PasswordReminder
Diffstat (limited to 'src/migrations/2015_02_23_184402_botleaguesapi-create_users.php')
-rw-r--r-- | src/migrations/2015_02_23_184402_botleaguesapi-create_users.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/migrations/2015_02_23_184402_botleaguesapi-create_users.php b/src/migrations/2015_02_23_184402_botleaguesapi-create_users.php index b054a43..f04f3f0 100644 --- a/src/migrations/2015_02_23_184402_botleaguesapi-create_users.php +++ b/src/migrations/2015_02_23_184402_botleaguesapi-create_users.php @@ -14,8 +14,7 @@ class BotleaguesapiCreateUsers extends Migration { { Schema::create('users', function(Blueprint $table) { - $table->increments('id')->unsigned(); - $table->string('email', 127)->unique(); + $table->string('email', 127)->primary(); $table->string('password', 60); $table->rememberToken(); $table->boolean('isAdministrator')->default(false); |