@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('template_sets', function (Blueprint $table) { |
|
15 | + Schema::create('template_sets', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('name'); |
18 | 18 | $table->integer('active'); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('mail_services', function (Blueprint $table) { |
|
16 | + Schema::create('mail_services', function(Blueprint $table) { |
|
17 | 17 | $table->increments('id'); |
18 | 18 | $table->string('name'); |
19 | 19 | $table->string('short_name'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('kb_settings', function (Blueprint $table) { |
|
15 | + Schema::create('kb_settings', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->integer('pagination'); |
18 | 18 | $table->timestamps(); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('widgets', function (Blueprint $table) { |
|
15 | + Schema::create('widgets', function(Blueprint $table) { |
|
16 | 16 | $table->integer('id', true); |
17 | 17 | $table->string('name', 30)->nullable(); |
18 | 18 | $table->string('title', 50)->nullable(); |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::table('users', function (Blueprint $table) { |
|
15 | + Schema::table('users', function(Blueprint $table) { |
|
16 | 16 | $table->foreign('assign_group', 'users_ibfk_1')->references('id')->on('groups')->onUpdate('NO ACTION')->onDelete('RESTRICT'); |
17 | 17 | $table->foreign('primary_dpt', 'users_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('users', function (Blueprint $table) { |
|
28 | + Schema::table('users', function(Blueprint $table) { |
|
29 | 29 | $table->dropForeign('users_ibfk_1'); |
30 | 30 | $table->dropForeign('users_ibfk_2'); |
31 | 31 | }); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('login_attempts', function (Blueprint $table) { |
|
15 | + Schema::create('login_attempts', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('User'); |
18 | 18 | $table->string('IP'); |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::table('ticket_form_data', function (Blueprint $table) { |
|
15 | + Schema::table('ticket_form_data', function(Blueprint $table) { |
|
16 | 16 | $table->foreign('ticket_id', 'ticket_form_data_ibfk_1')->references('id')->on('tickets')->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_form_data', function (Blueprint $table) { |
|
27 | + Schema::table('ticket_form_data', function(Blueprint $table) { |
|
28 | 28 | $table->dropForeign('ticket_form_data_ibfk_1'); |
29 | 29 | }); |
30 | 30 | } |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('team_assign_agent', function (Blueprint $table) { |
|
15 | + Schema::create('team_assign_agent', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->integer('team_id')->unsigned()->nullable()->index('team_id'); |
18 | 18 | $table->integer('agent_id')->unsigned()->nullable()->index('agent_id'); |
@@ -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 | } |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | */ |
45 | 45 | public function down() |
46 | 46 | { |
47 | - Schema::table('ticket_source', function (Blueprint $table) { |
|
47 | + Schema::table('ticket_source', function(Blueprint $table) { |
|
48 | 48 | // |
49 | 49 | }); |
50 | 50 | } |