Completed
Pull Request — master (#141)
by Bhanu
37:51 queued 34s
created
database/migrations/2017_06_10_062630_create_tax_rules_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('tax_rules', function (Blueprint $table) {
15
+        Schema::create('tax_rules', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->integer('tax_enable');
18 18
             $table->integer('inclusive');
Please login to merge, or discard this patch.
2017_06_10_062632_add_foreign_keys_to_promo_product_relations_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('promo_product_relations', function (Blueprint $table) {
15
+        Schema::table('promo_product_relations', function(Blueprint $table) {
16 16
             $table->foreign('product_id')->references('id')->on('products')->onUpdate('RESTRICT')->onDelete('RESTRICT');
17 17
             $table->foreign('promotion_id')->references('id')->on('promotions')->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('promo_product_relations', function (Blueprint $table) {
28
+        Schema::table('promo_product_relations', function(Blueprint $table) {
29 29
             $table->dropForeign('promo_product_relations_product_id_foreign');
30 30
             $table->dropForeign('promo_product_relations_promotion_id_foreign');
31 31
         });
Please login to merge, or discard this patch.
database/migrations/2017_06_10_062630_create_users_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('users', function (Blueprint $table) {
15
+        Schema::create('users', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('user_name', 225);
18 18
             $table->string('first_name');
Please login to merge, or discard this patch.
migrations/2017_06_10_062632_add_foreign_keys_to_promotions_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('promotions', function (Blueprint $table) {
15
+        Schema::table('promotions', function(Blueprint $table) {
16 16
             $table->foreign('type')->references('id')->on('promotion_types')->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('promotions', function (Blueprint $table) {
27
+        Schema::table('promotions', function(Blueprint $table) {
28 28
             $table->dropForeign('promotions_type_foreign');
29 29
         });
30 30
     }
Please login to merge, or discard this patch.
database/migrations/2017_06_10_062630_create_payments_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('payments', function (Blueprint $table) {
15
+        Schema::create('payments', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->integer('parent_id');
18 18
             $table->integer('invoice_id');
Please login to merge, or discard this patch.
database/migrations/2017_06_10_062630_create_jobs_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('jobs', function (Blueprint $table) {
15
+        Schema::create('jobs', function(Blueprint $table) {
16 16
             $table->bigInteger('id', true)->unsigned();
17 17
             $table->string('queue');
18 18
             $table->text('payload');
Please login to merge, or discard this patch.
2017_06_10_062632_add_foreign_keys_to_tax_product_relations_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('tax_product_relations', function (Blueprint $table) {
15
+        Schema::table('tax_product_relations', function(Blueprint $table) {
16 16
             $table->foreign('product_id')->references('id')->on('products')->onUpdate('RESTRICT')->onDelete('RESTRICT');
17 17
             $table->foreign('tax_class_id', 'tax_product_relations_tax_id_foreign')->references('id')->on('tax_classes')->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('tax_product_relations', function (Blueprint $table) {
28
+        Schema::table('tax_product_relations', function(Blueprint $table) {
29 29
             $table->dropForeign('tax_product_relations_product_id_foreign');
30 30
             $table->dropForeign('tax_product_relations_tax_id_foreign');
31 31
         });
Please login to merge, or discard this patch.
database/migrations/2017_06_10_062630_create_product_bundles_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('product_bundles', function (Blueprint $table) {
15
+        Schema::create('product_bundles', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('name');
18 18
             $table->timestamp('valid_from')->default(DB::raw('CURRENT_TIMESTAMP'));
Please login to merge, or discard this patch.
database/migrations/2017_06_10_062630_create_plans_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('plans', function (Blueprint $table) {
15
+        Schema::create('plans', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('name');
18 18
             $table->integer('product');
Please login to merge, or discard this patch.