Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | public function up() |
||
15 | { |
||
16 | Schema::create('admins', function (Blueprint $table) { |
||
17 | $table->bigIncrements('id'); |
||
18 | $table->string('name'); |
||
19 | $table->string('email')->unique(); |
||
20 | $table->string('phone')->nullable(); |
||
21 | $table->timestamp('email_verified_at')->nullable(); |
||
22 | $table->string('password'); |
||
23 | $table->dateTime('last_login_at')->nullable(); |
||
24 | $table->string('last_login_ip')->nullable(); |
||
25 | $table->rememberToken(); |
||
26 | $table->softDeletes(); |
||
27 | $table->timestamps(); |
||
28 | }); |
||
29 | } |
||
30 | |||
41 |