Conditions | 1 |
Paths | 1 |
Total Lines | 19 |
Code Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | public function up() |
||
15 | { |
||
16 | Schema::create('users', function (Blueprint $table) { |
||
17 | $table->increments('id'); |
||
18 | $table->string('username')->unique(); |
||
19 | $table->string('password', 64); |
||
20 | $table->string('email')->index(); |
||
21 | $table->string('first_name')->index()->nullable(); |
||
22 | $table->string('last_name')->index()->nullable(); |
||
23 | $table->string('display_name')->index()->nullable(); |
||
24 | $table->string('timezone')->default('Europe/London'); |
||
25 | $table->string('location')->nullable(); |
||
26 | $table->string('url')->nullable(); |
||
27 | $table->string('remember_token', 100)->nullable(); |
||
28 | $table->boolean('super_flag')->default(0); |
||
29 | $table->timestamps(); |
||
30 | $table->softDeletes(); |
||
31 | }); |
||
32 | } |
||
33 | |||
44 |