@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('failed_jobs', function (Blueprint $table) { |
|
15 | + Schema::create('failed_jobs', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->text('connection'); |
18 | 18 | $table->text('queue'); |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::table('ticket_collaborator', function (Blueprint $table) { |
|
15 | + Schema::table('ticket_collaborator', function(Blueprint $table) { |
|
16 | 16 | $table->foreign('ticket_id', 'ticket_collaborator_ibfk_1')->references('id')->on('tickets')->onUpdate('NO ACTION')->onDelete('RESTRICT'); |
17 | 17 | $table->foreign('user_id', 'ticket_collaborator_ibfk_2')->references('id')->on('users')->onUpdate('NO ACTION')->onDelete('RESTRICT'); |
18 | 18 | }); |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | */ |
26 | 26 | public function down() |
27 | 27 | { |
28 | - Schema::table('ticket_collaborator', function (Blueprint $table) { |
|
28 | + Schema::table('ticket_collaborator', function(Blueprint $table) { |
|
29 | 29 | $table->dropForeign('ticket_collaborator_ibfk_1'); |
30 | 30 | $table->dropForeign('ticket_collaborator_ibfk_2'); |
31 | 31 | }); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('kb_category', function (Blueprint $table) { |
|
15 | + Schema::create('kb_category', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('name'); |
18 | 18 | $table->string('slug'); |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::table('kb_article_relationship', function (Blueprint $table) { |
|
15 | + Schema::table('kb_article_relationship', function(Blueprint $table) { |
|
16 | 16 | $table->foreign('article_id', 'article_relationship_article_id_foreign')->references('id')->on('kb_article')->onUpdate('RESTRICT')->onDelete('RESTRICT'); |
17 | 17 | $table->foreign('category_id', 'article_relationship_category_id_foreign')->references('id')->on('kb_category')->onUpdate('RESTRICT')->onDelete('RESTRICT'); |
18 | 18 | }); |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | */ |
26 | 26 | public function down() |
27 | 27 | { |
28 | - Schema::table('kb_article_relationship', function (Blueprint $table) { |
|
28 | + Schema::table('kb_article_relationship', function(Blueprint $table) { |
|
29 | 29 | $table->dropForeign('article_relationship_article_id_foreign'); |
30 | 30 | $table->dropForeign('article_relationship_category_id_foreign'); |
31 | 31 | }); |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::table('group_assign_department', function (Blueprint $table) { |
|
15 | + Schema::table('group_assign_department', function(Blueprint $table) { |
|
16 | 16 | $table->foreign('group_id', 'group_assign_department_ibfk_1')->references('id')->on('groups')->onUpdate('NO ACTION')->onDelete('RESTRICT'); |
17 | 17 | $table->foreign('department_id', 'group_assign_department_ibfk_2')->references('id')->on('department')->onUpdate('NO ACTION')->onDelete('RESTRICT'); |
18 | 18 | }); |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | */ |
26 | 26 | public function down() |
27 | 27 | { |
28 | - Schema::table('group_assign_department', function (Blueprint $table) { |
|
28 | + Schema::table('group_assign_department', function(Blueprint $table) { |
|
29 | 29 | $table->dropForeign('group_assign_department_ibfk_1'); |
30 | 30 | $table->dropForeign('group_assign_department_ibfk_2'); |
31 | 31 | }); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('user_assign_organization', function (Blueprint $table) { |
|
15 | + Schema::create('user_assign_organization', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->integer('org_id')->unsigned()->nullable()->index('org_id'); |
18 | 18 | $table->integer('user_id')->unsigned()->nullable()->index('user_id'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('custom_form_fields', function (Blueprint $table) { |
|
15 | + Schema::create('custom_form_fields', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->integer('forms_id'); |
18 | 18 | $table->string('label'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('ticket_priority', function (Blueprint $table) { |
|
15 | + Schema::create('ticket_priority', function(Blueprint $table) { |
|
16 | 16 | $table->increments('priority_id'); |
17 | 17 | $table->string('priority'); |
18 | 18 | $table->string('status'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('mailbox_protocol', function (Blueprint $table) { |
|
15 | + Schema::create('mailbox_protocol', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('name'); |
18 | 18 | $table->string('value', 50)->nullable(); |