Completed
Pull Request — master (#141)
by Bhanu
37:51 queued 34s
created
database/migrations/2017_06_10_062632_add_foreign_keys_to_orders_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::table('orders', function (Blueprint $table) {
15
+        Schema::table('orders', function(Blueprint $table) {
16 16
             $table->foreign('client')->references('id')->on('users')->onUpdate('RESTRICT')->onDelete('RESTRICT');
17 17
             $table->foreign('product')->references('id')->on('products')->onUpdate('RESTRICT')->onDelete('RESTRICT');
18 18
         });
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function down()
27 27
     {
28
-        Schema::table('orders', function (Blueprint $table) {
28
+        Schema::table('orders', function(Blueprint $table) {
29 29
             $table->dropForeign('orders_client_foreign');
30 30
             $table->dropForeign('orders_product_foreign');
31 31
         });
Please login to merge, or discard this patch.
2017_06_10_062632_add_foreign_keys_to_configurable_options_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::table('configurable_options', function (Blueprint $table) {
15
+        Schema::table('configurable_options', function(Blueprint $table) {
16 16
             $table->foreign('group_id')->references('id')->on('product_groups')->onUpdate('RESTRICT')->onDelete('RESTRICT');
17 17
         });
18 18
     }
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      */
25 25
     public function down()
26 26
     {
27
-        Schema::table('configurable_options', function (Blueprint $table) {
27
+        Schema::table('configurable_options', function(Blueprint $table) {
28 28
             $table->dropForeign('configurable_options_group_id_foreign');
29 29
         });
30 30
     }
Please login to merge, or discard this patch.
2017_06_10_062630_create_mailchimp_field_agora_relations_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('mailchimp_field_agora_relations', function (Blueprint $table) {
15
+        Schema::create('mailchimp_field_agora_relations', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('first_name');
18 18
             $table->string('last_name');
Please login to merge, or discard this patch.
database/migrations/2017_06_10_062630_create_orders_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('orders', function (Blueprint $table) {
15
+        Schema::create('orders', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->integer('number')->unique('number');
18 18
             $table->integer('invoice_id');
Please login to merge, or discard this patch.
migrations/2017_06_10_062630_create_order_invoice_relations_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('order_invoice_relations', function (Blueprint $table) {
15
+        Schema::create('order_invoice_relations', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->integer('order_id')->unsigned()->index('order_invoice_relations_order_id_foreign');
18 18
             $table->integer('invoice_id')->unsigned()->index('order_invoice_relations_invoice_id_foreign');
Please login to merge, or discard this patch.
database/migrations/2017_06_10_062630_create_template_types_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('template_types', function (Blueprint $table) {
15
+        Schema::create('template_types', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('name');
18 18
             $table->timestamps();
Please login to merge, or discard this patch.
database/migrations/2017_06_10_062630_create_taxes_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('taxes', function (Blueprint $table) {
15
+        Schema::create('taxes', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->integer('tax_classes_id')->default(1);
18 18
             $table->integer('level');
Please login to merge, or discard this patch.
database/migrations/2017_06_10_062630_create_subscriptions_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('subscriptions', function (Blueprint $table) {
15
+        Schema::create('subscriptions', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->integer('user_id');
18 18
             $table->integer('plan_id');
Please login to merge, or discard this patch.
database/migrations/2017_06_10_062630_create_ccavanue_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('ccavanue', function (Blueprint $table) {
15
+        Schema::create('ccavanue', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('merchant_id');
18 18
             $table->string('access_code');
Please login to merge, or discard this patch.