@@ -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(); |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('ticket_thread', function (Blueprint $table) { |
|
| 15 | + Schema::create('ticket_thread', function(Blueprint $table) { |
|
| 16 | 16 | $table->increments('id'); |
| 17 | 17 | $table->integer('ticket_id')->unsigned()->nullable()->index('ticket_id_2'); |
| 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('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 | }); |