Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
13 | public function up() |
||
14 | { |
||
15 | Schema::create('users', function (Blueprint $table) { |
||
16 | increments('id'); |
||
17 | $table->string('profile_picture', 150)->nullable(); |
||
18 | $table->string('name', 100)->nullable(); |
||
19 | $table->string('email')->unique(); |
||
20 | $table->string('password', 60)->nullable(); |
||
21 | $table->boolean('blocked')->default(0); |
||
22 | $table->boolean('confirmed')->default(0); |
||
23 | $table->string('confirmation_code')->nullable(); |
||
24 | $table->string('locale', 2)->default('en'); |
||
25 | $table->string('timezone', 50)->default('Africa/Cairo'); |
||
26 | $table->softDeletes(); |
||
27 | $table->rememberToken(); |
||
28 | $table->timestamps(); |
||
29 | }); |
||
30 | } |
||
31 | |||
42 |