@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::table('teams', function (Blueprint $table) { |
|
15 | + Schema::table('teams', function(Blueprint $table) { |
|
16 | 16 | $table->foreign('team_lead', 'teams_ibfk_1')->references('id')->on('users')->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('teams', function (Blueprint $table) { |
|
27 | + Schema::table('teams', function(Blueprint $table) { |
|
28 | 28 | $table->dropForeign('teams_ibfk_1'); |
29 | 29 | }); |
30 | 30 | } |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('bar_notifications', function (Blueprint $table) { |
|
15 | + Schema::create('bar_notifications', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('key'); |
18 | 18 | $table->string('value'); |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::table('team_assign_agent', function (Blueprint $table) { |
|
15 | + Schema::table('team_assign_agent', function(Blueprint $table) { |
|
16 | 16 | $table->foreign('team_id', 'team_assign_agent_ibfk_1')->references('id')->on('teams')->onUpdate('NO ACTION')->onDelete('RESTRICT'); |
17 | 17 | $table->foreign('agent_id', 'team_assign_agent_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('team_assign_agent', function (Blueprint $table) { |
|
28 | + Schema::table('team_assign_agent', function(Blueprint $table) { |
|
29 | 29 | $table->dropForeign('team_assign_agent_ibfk_1'); |
30 | 30 | $table->dropForeign('team_assign_agent_ibfk_2'); |
31 | 31 | }); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('groups', function (Blueprint $table) { |
|
15 | + Schema::create('groups', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('name'); |
18 | 18 | $table->boolean('group_status'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('notifications', function (Blueprint $table) { |
|
15 | + Schema::create('notifications', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->integer('model_id'); |
18 | 18 | $table->integer('userid_created'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('date_time_format', function (Blueprint $table) { |
|
15 | + Schema::create('date_time_format', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('format'); |
18 | 18 | }); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('settings_ticket', function (Blueprint $table) { |
|
15 | + Schema::create('settings_ticket', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('num_format'); |
18 | 18 | $table->string('num_sequence'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('ticket_collaborator', function (Blueprint $table) { |
|
15 | + Schema::create('ticket_collaborator', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->boolean('isactive'); |
18 | 18 | $table->integer('ticket_id')->unsigned()->nullable()->index('ticket_id'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('settings_system', function (Blueprint $table) { |
|
15 | + Schema::create('settings_system', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->boolean('status'); |
18 | 18 | $table->string('url'); |