aboutsummaryrefslogtreecommitdiffhomepage
path: root/database/migrations
diff options
context:
space:
mode:
authorMarvin Borner2018-07-11 18:51:39 +0200
committerMarvin Borner2018-07-11 18:51:39 +0200
commitb7a6fbc9cc5d9d601c60e6ed4123e021e4aeaf5b (patch)
tree17af273b117187ad7937c477fe245c69410f7179 /database/migrations
parent419c90e49c34aa2b326a25e2ab85cdfb71f18e53 (diff)
Added/fixed email verification
Diffstat (limited to 'database/migrations')
-rw-r--r--database/migrations/2014_10_12_000000_create_users_table.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/database/migrations/2014_10_12_000000_create_users_table.php
index 1846db1..ab3cbc1 100644
--- a/database/migrations/2014_10_12_000000_create_users_table.php
+++ b/database/migrations/2014_10_12_000000_create_users_table.php
@@ -21,6 +21,8 @@ class CreateUsersTable extends Migration
$table->string('prevHash', 60)->unique();
$table->string('hash', 60)->unique();
$table->string('api_token')->default("");
+ $table->tinyInteger('verified')->default(0);
+ $table->string('email_token')->nullable();
$table->rememberToken();
$table->timestamps();
});