@@ -3,7 +3,7 @@ |
||
3 | 3 | use Illuminate\Database\Migrations\Migration; |
4 | 4 | use Illuminate\Database\Schema\Blueprint; |
5 | 5 | |
6 | -class CreateSystemEventnamesTable extends Migration { |
|
6 | +class CreateSystemEventnamesTable 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 CreateUserRolesTable extends Migration { |
|
6 | +class CreateUserRolesTable 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 CreateDocumentGroupsTable extends Migration { |
|
6 | +class CreateDocumentGroupsTable extends Migration{ |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * Run the migrations. |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | $table->integer('id', true); |
18 | 18 | $table->integer('document_group')->default(0)->index('document_group'); |
19 | 19 | $table->integer('document')->default(0)->index('document'); |
20 | - $table->unique(['document_group','document'], 'ix_dg_id'); |
|
20 | + $table->unique(['document_group', 'document'], 'ix_dg_id'); |
|
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 CreateEventLogTable extends Migration { |
|
6 | +class CreateEventLogTable 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 CreateManagerUsersTable extends Migration { |
|
6 | +class CreateManagerUsersTable 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 CreateMemberGroupsTable extends Migration { |
|
6 | +class CreateMemberGroupsTable extends Migration{ |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * Run the migrations. |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | $table->integer('id', true); |
18 | 18 | $table->integer('user_group')->default(0); |
19 | 19 | $table->integer('member')->default(0); |
20 | - $table->unique(['user_group','member'], 'ix_group_member'); |
|
20 | + $table->unique(['user_group', 'member'], 'ix_group_member'); |
|
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 CreateWebGroupsTable extends Migration { |
|
6 | +class CreateWebGroupsTable extends Migration{ |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * Run the migrations. |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | $table->integer('id', true); |
18 | 18 | $table->integer('webgroup')->default(0); |
19 | 19 | $table->integer('webuser')->default(0); |
20 | - $table->unique(['webgroup','webuser'], 'ix_group_user'); |
|
20 | + $table->unique(['webgroup', 'webuser'], 'ix_group_user'); |
|
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 CreateActiveUserLocksTable extends Migration { |
|
6 | +class CreateActiveUserLocksTable extends Migration{ |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * Run the migrations. |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | $table->integer('elementType')->default(0); |
21 | 21 | $table->integer('elementId')->default(0); |
22 | 22 | $table->integer('lasthit')->default(0); |
23 | - $table->unique(['elementType','elementId','sid'], 'ix_element_id'); |
|
23 | + $table->unique(['elementType', 'elementId', 'sid'], 'ix_element_id'); |
|
24 | 24 | }); |
25 | 25 | } |
26 | 26 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | use Illuminate\Database\Migrations\Migration; |
4 | 4 | use Illuminate\Database\Schema\Blueprint; |
5 | 5 | |
6 | -class CreateManagerLogTable extends Migration { |
|
6 | +class CreateManagerLogTable extends Migration{ |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * Run the migrations. |