aboutsummaryrefslogtreecommitdiffhomepage
path: root/database/migrations/2014_10_12_000000_create_users_table.php
diff options
context:
space:
mode:
Diffstat (limited to 'database/migrations/2014_10_12_000000_create_users_table.php')
-rw-r--r--[-rwxr-xr-x]database/migrations/2014_10_12_000000_create_users_table.php13
1 files changed, 4 insertions, 9 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 0dd0011..689cbee 100755..100644
--- 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 @@
<?php
-use Illuminate\Database\Migrations\Migration;
-use Illuminate\Database\Schema\Blueprint;
+
use Illuminate\Support\Facades\Schema;
+use Illuminate\Database\Schema\Blueprint;
+use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration
{
@@ -17,17 +18,11 @@ class CreateUsersTable extends Migration
$table->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.
*