@@ -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(); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('kb_comment', function (Blueprint $table) { |
|
15 | + Schema::create('kb_comment', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->integer('article_id')->unsigned()->index('comment_article_id_foreign'); |
18 | 18 | $table->string('name'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('date_format', function (Blueprint $table) { |
|
15 | + Schema::create('date_format', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('format'); |
18 | 18 | }); |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::table('canned_response', function (Blueprint $table) { |
|
15 | + Schema::table('canned_response', function(Blueprint $table) { |
|
16 | 16 | $table->foreign('user_id', 'canned_response_ibfk_1')->references('id')->on('users')->onUpdate('NO ACTION')->onDelete('NO ACTION'); |
17 | 17 | }); |
18 | 18 | } |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | */ |
25 | 25 | public function down() |
26 | 26 | { |
27 | - Schema::table('canned_response', function (Blueprint $table) { |
|
27 | + Schema::table('canned_response', function(Blueprint $table) { |
|
28 | 28 | $table->dropForeign('canned_response_ibfk_1'); |
29 | 29 | }); |
30 | 30 | } |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('user_additional_infos', function (Blueprint $table) { |
|
15 | + Schema::create('user_additional_infos', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->integer('owner'); |
18 | 18 | $table->string('service'); |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | public function up() |
14 | 14 | { |
15 | 15 | if (!Schema::hasColumn('ticket_source', 'css_class')) { |
16 | - Schema::table('ticket_source', function (Blueprint $table) { |
|
16 | + Schema::table('ticket_source', function(Blueprint $table) { |
|
17 | 17 | $table->string('css_class'); |
18 | 18 | }); |
19 | 19 | } |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | */ |
43 | 43 | public function down() |
44 | 44 | { |
45 | - Schema::table('ticket_source', function (Blueprint $table) { |
|
45 | + Schema::table('ticket_source', function(Blueprint $table) { |
|
46 | 46 | // |
47 | 47 | }); |
48 | 48 | } |