From b7a6fbc9cc5d9d601c60e6ed4123e021e4aeaf5b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 11 Jul 2018 18:51:39 +0200 Subject: Added/fixed email verification --- database/migrations/2014_10_12_000000_create_users_table.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'database/migrations') 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(); }); -- cgit v1.2.3