@@ -1,7 +1,7 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | - return [ |
|
| 2 | + return [ |
|
| 3 | 3 | |
| 4 | - /* |
|
| 4 | + /* |
|
| 5 | 5 | |-------------------------------------------------------------------------- |
| 6 | 6 | | License Route |
| 7 | 7 | |-------------------------------------------------------------------------- |
@@ -10,9 +10,9 @@ discard block |
||
| 10 | 10 | | https://yoursite.com/check/license |
| 11 | 11 | | |
| 12 | 12 | */ |
| 13 | - 'license_route' => '/check/license', |
|
| 13 | + 'license_route' => '/check/license', |
|
| 14 | 14 | |
| 15 | - /* |
|
| 15 | + /* |
|
| 16 | 16 | |-------------------------------------------------------------------------- |
| 17 | 17 | | Route name |
| 18 | 18 | |-------------------------------------------------------------------------- |
@@ -20,9 +20,9 @@ discard block |
||
| 20 | 20 | | Set route name for checking serial number. |
| 21 | 21 | | |
| 22 | 22 | */ |
| 23 | - 'route_name' => 'check_license', |
|
| 23 | + 'route_name' => 'check_license', |
|
| 24 | 24 | |
| 25 | - /* |
|
| 25 | + /* |
|
| 26 | 26 | |-------------------------------------------------------------------------- |
| 27 | 27 | | Character Type |
| 28 | 28 | |-------------------------------------------------------------------------- |
@@ -34,9 +34,9 @@ discard block |
||
| 34 | 34 | | |
| 35 | 35 | */ |
| 36 | 36 | |
| 37 | - 'char_type' => 'alphanumeric', //Type alphanumeric |
|
| 37 | + 'char_type' => 'alphanumeric', //Type alphanumeric |
|
| 38 | 38 | |
| 39 | - /* |
|
| 39 | + /* |
|
| 40 | 40 | |-------------------------------------------------------------------------- |
| 41 | 41 | | Serial Config |
| 42 | 42 | |-------------------------------------------------------------------------- |
@@ -46,11 +46,11 @@ discard block |
||
| 46 | 46 | | striped : striped segment for serial |
| 47 | 47 | | |
| 48 | 48 | */ |
| 49 | - 'length' => 4,//default : 4 |
|
| 49 | + 'length' => 4,//default : 4 |
|
| 50 | 50 | |
| 51 | - 'segment' => 4,//default : 4 |
|
| 51 | + 'segment' => 4,//default : 4 |
|
| 52 | 52 | |
| 53 | - 'striped' => true,//default : true |
|
| 53 | + 'striped' => true,//default : true |
|
| 54 | 54 | |
| 55 | 55 | |
| 56 | 56 | |
@@ -46,11 +46,11 @@ |
||
| 46 | 46 | | striped : striped segment for serial |
| 47 | 47 | | |
| 48 | 48 | */ |
| 49 | - 'length' => 4,//default : 4 |
|
| 49 | + 'length' => 4, //default : 4 |
|
| 50 | 50 | |
| 51 | - 'segment' => 4,//default : 4 |
|
| 51 | + 'segment' => 4, //default : 4 |
|
| 52 | 52 | |
| 53 | - 'striped' => true,//default : true |
|
| 53 | + 'striped' => true, //default : true |
|
| 54 | 54 | |
| 55 | 55 | |
| 56 | 56 | |
@@ -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 | } |