Completed
Push — master ( 20ff1e...685fd1 )
by Scott
02:31
created
updates/1.0/create_products_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 
11 11
     public function up()
12 12
     {
13
-        Schema::create('bedard_shop_products', function (Blueprint $table) {
13
+        Schema::create('bedard_shop_products', function(Blueprint $table) {
14 14
             $table->engine = 'InnoDB';
15 15
             $table->increments('id');
16 16
             $table->string('name')->default('');
Please login to merge, or discard this patch.
updates/1.0/create_categories_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     public function up()
10 10
     {
11
-        Schema::create('bedard_shop_categories', function (Blueprint $table) {
11
+        Schema::create('bedard_shop_categories', function(Blueprint $table) {
12 12
             $table->engine = 'InnoDB';
13 13
             $table->increments('id');
14 14
             $table->integer('parent_id')->unsigned()->nullable()->index();
Please login to merge, or discard this patch.
updates/1.0/create_discounts_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     public function up()
10 10
     {
11
-        Schema::create('bedard_shop_discounts', function (Blueprint $table) {
11
+        Schema::create('bedard_shop_discounts', function(Blueprint $table) {
12 12
             $table->engine = 'InnoDB';
13 13
             $table->increments('id');
14 14
             $table->string('name')->default('');
Please login to merge, or discard this patch.
updates/1.0/create_prices_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     public function up()
10 10
     {
11
-        Schema::create('bedard_shop_prices', function (Blueprint $table) {
11
+        Schema::create('bedard_shop_prices', function(Blueprint $table) {
12 12
             $table->engine = 'InnoDB';
13 13
             $table->increments('id');
14 14
             $table->decimal('price', 10, 2)->unsigned();
Please login to merge, or discard this patch.
controllers/Discounts.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,10 +39,10 @@
 block discarded – undo
39 39
     public function listExtendQuery($query)
40 40
     {
41 41
         $query->with([
42
-            'categories' => function ($category) {
42
+            'categories' => function($category) {
43 43
                 return $category->select('name');
44 44
             },
45
-            'products' => function ($product) {
45
+            'products' => function($product) {
46 46
                 return $product->select('name');
47 47
             },
48 48
         ])->selectStatus();
Please login to merge, or discard this patch.
updates/1.0/create_inventories_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     public function up()
10 10
     {
11
-        Schema::create('bedard_shop_inventories', function (Blueprint $table) {
11
+        Schema::create('bedard_shop_inventories', function(Blueprint $table) {
12 12
             $table->engine = 'InnoDB';
13 13
             $table->increments('id');
14 14
             $table->integer('product_id')->unsigned()->index();
Please login to merge, or discard this patch.
updates/1.0/create_option_values_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     public function up()
10 10
     {
11
-        Schema::create('bedard_shop_option_values', function (Blueprint $table) {
11
+        Schema::create('bedard_shop_option_values', function(Blueprint $table) {
12 12
             $table->engine = 'InnoDB';
13 13
             $table->increments('id');
14 14
             $table->string('name')->default('');
Please login to merge, or discard this patch.
updates/1.0/create_category_discount_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     public function up()
10 10
     {
11
-        Schema::create('bedard_shop_category_discount', function (Blueprint $table) {
11
+        Schema::create('bedard_shop_category_discount', function(Blueprint $table) {
12 12
             $table->engine = 'InnoDB';
13 13
             $table->integer('category_id')->unsigned()->nullable();
14 14
             $table->integer('discount_id')->unsigned()->nullable();
Please login to merge, or discard this patch.
updates/1.0/create_category_product_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     public function up()
10 10
     {
11
-        Schema::create('bedard_shop_category_product', function (Blueprint $table) {
11
+        Schema::create('bedard_shop_category_product', function(Blueprint $table) {
12 12
             $table->engine = 'InnoDB';
13 13
             $table->integer('category_id')->unsigned()->nullable();
14 14
             $table->integer('product_id')->unsigned()->nullable();
Please login to merge, or discard this patch.