Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 12 |
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('name'); |
||
19 | $table->string('email')->unique(); |
||
20 | $table->string('password'); |
||
21 | $table->boolean('is_admin')->default(false); |
||
22 | $table->string('mmex_guid')->unique()->nullable(); |
||
23 | $table->string('api_token')->unique()->nullable(); |
||
24 | $table->string('locale')->nullable(); |
||
25 | $table->rememberToken(); |
||
26 | $table->timestamps(); |
||
27 | }); |
||
28 | } |
||
29 | |||
40 |