@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('version_check', function (Blueprint $table) { |
|
15 | + Schema::create('version_check', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('current_version'); |
18 | 18 | $table->string('new_version'); |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::table('user_assign_organization', function (Blueprint $table) { |
|
15 | + Schema::table('user_assign_organization', function(Blueprint $table) { |
|
16 | 16 | $table->foreign('org_id', 'user_assign_organization_ibfk_1')->references('id')->on('organization')->onUpdate('NO ACTION')->onDelete('RESTRICT'); |
17 | 17 | $table->foreign('user_id', 'user_assign_organization_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('user_assign_organization', function (Blueprint $table) { |
|
28 | + Schema::table('user_assign_organization', function(Blueprint $table) { |
|
29 | 29 | $table->dropForeign('user_assign_organization_ibfk_1'); |
30 | 30 | $table->dropForeign('user_assign_organization_ibfk_2'); |
31 | 31 | }); |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::table('help_topic', function (Blueprint $table) { |
|
15 | + Schema::table('help_topic', function(Blueprint $table) { |
|
16 | 16 | $table->foreign('custom_form', 'help_topic_ibfk_1')->references('id')->on('custom_forms')->onUpdate('NO ACTION')->onDelete('RESTRICT'); |
17 | 17 | $table->foreign('department', 'help_topic_ibfk_2')->references('id')->on('department')->onUpdate('NO ACTION')->onDelete('RESTRICT'); |
18 | 18 | $table->foreign('ticket_status', 'help_topic_ibfk_3')->references('id')->on('ticket_status')->onUpdate('NO ACTION')->onDelete('RESTRICT'); |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | */ |
30 | 30 | public function down() |
31 | 31 | { |
32 | - Schema::table('help_topic', function (Blueprint $table) { |
|
32 | + Schema::table('help_topic', function(Blueprint $table) { |
|
33 | 33 | $table->dropForeign('help_topic_ibfk_1'); |
34 | 34 | $table->dropForeign('help_topic_ibfk_2'); |
35 | 35 | $table->dropForeign('help_topic_ibfk_3'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('users', function (Blueprint $table) { |
|
15 | + Schema::create('users', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('user_name'); |
18 | 18 | $table->string('first_name'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('rating_ref', function (Blueprint $table) { |
|
15 | + Schema::create('rating_ref', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->integer('rating_id'); |
18 | 18 | $table->integer('ticket_id'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('templates', function (Blueprint $table) { |
|
15 | + Schema::create('templates', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('name'); |
18 | 18 | $table->string('variable'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('notification_types', function (Blueprint $table) { |
|
15 | + Schema::create('notification_types', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('message'); |
18 | 18 | $table->string('type'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('teams', function (Blueprint $table) { |
|
15 | + Schema::create('teams', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('name'); |
18 | 18 | $table->boolean('status'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('country_code', function (Blueprint $table) { |
|
15 | + Schema::create('country_code', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->char('iso', 2); |
18 | 18 | $table->string('name', 100); |