@@ -13,14 +13,14 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('license_serials', function (Blueprint $table) { |
|
| 16 | + Schema::create('license_serials', function(Blueprint $table) { |
|
| 17 | 17 | $table->bigIncrements('id'); |
| 18 | - $table->string('name',65); |
|
| 19 | - $table->string('domain',120); |
|
| 20 | - $table->string('phone_number',30)->nullable(); |
|
| 18 | + $table->string('name', 65); |
|
| 19 | + $table->string('domain', 120); |
|
| 20 | + $table->string('phone_number', 30)->nullable(); |
|
| 21 | 21 | $table->text('address')->nullable(); |
| 22 | - $table->string('serial',120)->unique(); |
|
| 23 | - $table->string('expired',16); |
|
| 22 | + $table->string('serial', 120)->unique(); |
|
| 23 | + $table->string('expired', 16); |
|
| 24 | 24 | $table->boolean('logging')->default(0); |
| 25 | 25 | $table->boolean('status')->default(0); |
| 26 | 26 | $table->timestamps(); |
@@ -13,12 +13,12 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('log_usage_license_serial', function (Blueprint $table) { |
|
| 16 | + Schema::create('log_usage_license_serial', function(Blueprint $table) { |
|
| 17 | 17 | $table->bigIncrements('id'); |
| 18 | - $table->bigInteger('license_serial_id',false); |
|
| 19 | - $table->string('app_name',120)->nullable(); |
|
| 20 | - $table->string('route_name',125)->nullable(); |
|
| 21 | - $table->bigInteger('usage_count',false); |
|
| 18 | + $table->bigInteger('license_serial_id', false); |
|
| 19 | + $table->string('app_name', 120)->nullable(); |
|
| 20 | + $table->string('route_name', 125)->nullable(); |
|
| 21 | + $table->bigInteger('usage_count', false); |
|
| 22 | 22 | $table->timestamps(); |
| 23 | 23 | }); |
| 24 | 24 | } |