@@ -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 | } |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::table('tickets', function (Blueprint $table) { |
|
15 | + Schema::table('tickets', function(Blueprint $table) { |
|
16 | 16 | $table->foreign('user_id', 'tickets_ibfk_1')->references('id')->on('users')->onUpdate('NO ACTION')->onDelete('RESTRICT'); |
17 | 17 | $table->foreign('dept_id', 'tickets_ibfk_2')->references('id')->on('department')->onUpdate('NO ACTION')->onDelete('RESTRICT'); |
18 | 18 | $table->foreign('team_id', 'tickets_ibfk_3')->references('id')->on('teams')->onUpdate('NO ACTION')->onDelete('RESTRICT'); |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | */ |
33 | 33 | public function down() |
34 | 34 | { |
35 | - Schema::table('tickets', function (Blueprint $table) { |
|
35 | + Schema::table('tickets', function(Blueprint $table) { |
|
36 | 36 | $table->dropForeign('tickets_ibfk_1'); |
37 | 37 | $table->dropForeign('tickets_ibfk_2'); |
38 | 38 | $table->dropForeign('tickets_ibfk_3'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('time_format', function (Blueprint $table) { |
|
15 | + Schema::create('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_company', function (Blueprint $table) { |
|
15 | + Schema::create('settings_company', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('company_name'); |
18 | 18 | $table->string('website'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('faveo_mails', function (Blueprint $table) { |
|
15 | + Schema::create('faveo_mails', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->integer('email_id'); |
18 | 18 | $table->string('drive'); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('queue_services', function (Blueprint $table) { |
|
16 | + Schema::create('queue_services', function(Blueprint $table) { |
|
17 | 17 | $table->increments('id'); |
18 | 18 | $table->string('name'); |
19 | 19 | $table->string('short_name'); |