@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('kb_article', function (Blueprint $table) { |
|
15 | + Schema::create('kb_article', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->text('name'); |
18 | 18 | $table->string('slug'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('settings_alert_notice', function (Blueprint $table) { |
|
15 | + Schema::create('settings_alert_notice', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->boolean('ticket_status'); |
18 | 18 | $table->boolean('ticket_admin_email'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('canned_response', function (Blueprint $table) { |
|
15 | + Schema::create('canned_response', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->integer('user_id')->unsigned()->index('user_id'); |
18 | 18 | $table->string('title'); |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::table('ticket_attachment', function (Blueprint $table) { |
|
15 | + Schema::table('ticket_attachment', function(Blueprint $table) { |
|
16 | 16 | $table->foreign('thread_id', 'ticket_attachment_ibfk_1')->references('id')->on('ticket_thread')->onUpdate('NO ACTION')->onDelete('RESTRICT'); |
17 | 17 | }); |
18 | 18 | } |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | */ |
25 | 25 | public function down() |
26 | 26 | { |
27 | - Schema::table('ticket_attachment', function (Blueprint $table) { |
|
27 | + Schema::table('ticket_attachment', function(Blueprint $table) { |
|
28 | 28 | $table->dropForeign('ticket_attachment_ibfk_1'); |
29 | 29 | }); |
30 | 30 | } |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('organization', function (Blueprint $table) { |
|
15 | + Schema::create('organization', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('name'); |
18 | 18 | $table->string('phone'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('settings_security', function (Blueprint $table) { |
|
15 | + Schema::create('settings_security', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('lockout_message'); |
18 | 18 | $table->integer('backlist_offender'); |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::table('kb_comment', function (Blueprint $table) { |
|
15 | + Schema::table('kb_comment', function(Blueprint $table) { |
|
16 | 16 | $table->foreign('article_id', 'comment_article_id_foreign')->references('id')->on('kb_article')->onUpdate('RESTRICT')->onDelete('RESTRICT'); |
17 | 17 | }); |
18 | 18 | } |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | */ |
25 | 25 | public function down() |
26 | 26 | { |
27 | - Schema::table('kb_comment', function (Blueprint $table) { |
|
27 | + Schema::table('kb_comment', function(Blueprint $table) { |
|
28 | 28 | $table->dropForeign('comment_article_id_foreign'); |
29 | 29 | }); |
30 | 30 | } |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('settings_email', function (Blueprint $table) { |
|
15 | + Schema::create('settings_email', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('template'); |
18 | 18 | $table->string('sys_email')->nullable(); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('custom_forms', function (Blueprint $table) { |
|
15 | + Schema::create('custom_forms', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('formname'); |
18 | 18 | $table->timestamps(); |