@@ -3,7 +3,7 @@ |
||
3 | 3 | use Illuminate\Database\Migrations\Migration; |
4 | 4 | use Illuminate\Database\Schema\Blueprint; |
5 | 5 | |
6 | -class CreateSiteModuleAccessTable extends Migration { |
|
6 | +class CreateSiteModuleAccessTable extends Migration{ |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * Run the migrations. |
@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | use Illuminate\Database\Migrations\Migration; |
4 | 4 | use Illuminate\Database\Schema\Blueprint; |
5 | 5 | |
6 | -class CreateSiteTmplvarTemplatesTable extends Migration { |
|
6 | +class CreateSiteTmplvarTemplatesTable extends Migration{ |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * Run the migrations. |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | $table->integer('tmplvarid')->default(0)->comment('Template Variable id'); |
18 | 18 | $table->integer('templateid')->default(0); |
19 | 19 | $table->integer('rank')->default(0); |
20 | - $table->primary(['tmplvarid','templateid']); |
|
20 | + $table->primary(['tmplvarid', 'templateid']); |
|
21 | 21 | }); |
22 | 22 | } |
23 | 23 |
@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | use Illuminate\Database\Migrations\Migration; |
4 | 4 | use Illuminate\Database\Schema\Blueprint; |
5 | 5 | |
6 | -class CreateUserSettingsTable extends Migration { |
|
6 | +class CreateUserSettingsTable extends Migration{ |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * Run the migrations. |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | $table->integer('user')->index('user'); |
18 | 18 | $table->string('setting_name', 50)->default('')->index('setting_name'); |
19 | 19 | $table->text('setting_value', 65535)->nullable(); |
20 | - $table->primary(['user','setting_name']); |
|
20 | + $table->primary(['user', 'setting_name']); |
|
21 | 21 | }); |
22 | 22 | } |
23 | 23 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | use Illuminate\Database\Migrations\Migration; |
4 | 4 | use Illuminate\Database\Schema\Blueprint; |
5 | 5 | |
6 | -class CreateSiteModuleDepobjTable extends Migration { |
|
6 | +class CreateSiteModuleDepobjTable extends Migration{ |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * Run the migrations. |
@@ -3,7 +3,7 @@ |
||
3 | 3 | use Illuminate\Database\Migrations\Migration; |
4 | 4 | use Illuminate\Database\Schema\Blueprint; |
5 | 5 | |
6 | -class CreateSystemSettingsTable extends Migration { |
|
6 | +class CreateSystemSettingsTable extends Migration{ |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * Run the migrations. |
@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | use Illuminate\Database\Migrations\Migration; |
4 | 4 | use Illuminate\Database\Schema\Blueprint; |
5 | 5 | |
6 | -class CreateWebUserSettingsTable extends Migration { |
|
6 | +class CreateWebUserSettingsTable extends Migration{ |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * Run the migrations. |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | $table->integer('webuser')->index('webuserid'); |
18 | 18 | $table->string('setting_name', 50)->default('')->index('setting_name'); |
19 | 19 | $table->text('setting_value', 65535)->nullable(); |
20 | - $table->primary(['webuser','setting_name']); |
|
20 | + $table->primary(['webuser', 'setting_name']); |
|
21 | 21 | }); |
22 | 22 | } |
23 | 23 |
@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | use Illuminate\Database\Migrations\Migration; |
4 | 4 | use Illuminate\Database\Schema\Blueprint; |
5 | 5 | |
6 | -class CreateSiteContentTable extends Migration { |
|
6 | +class CreateSiteContentTable extends Migration{ |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * Run the migrations. |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | $table->boolean('content_dispo')->default(0)->comment('0-inline, 1-attachment'); |
51 | 51 | $table->boolean('hidemenu')->default(0)->comment('Hide document from menu'); |
52 | 52 | $table->integer('alias_visible')->default(1); |
53 | - $table->index(['pagetitle','description','content'], 'content_ft_idx'); |
|
53 | + $table->index(['pagetitle', 'description', 'content'], 'content_ft_idx'); |
|
54 | 54 | }); |
55 | 55 | } |
56 | 56 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | use Illuminate\Database\Migrations\Migration; |
4 | 4 | use Illuminate\Database\Schema\Blueprint; |
5 | 5 | |
6 | -class CreateMembergroupAccessTable extends Migration { |
|
6 | +class CreateMembergroupAccessTable extends Migration{ |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * Run the migrations. |
@@ -3,7 +3,7 @@ |
||
3 | 3 | use Illuminate\Database\Migrations\Migration; |
4 | 4 | use Illuminate\Database\Schema\Blueprint; |
5 | 5 | |
6 | -class CreateMembergroupNamesTable extends Migration { |
|
6 | +class CreateMembergroupNamesTable extends Migration{ |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * Run the migrations. |