Commit f74b0c44 by Oleg Schelkunov

Update migration so the plugin will be able to install

parent 5eed8ff4
...@@ -33,7 +33,10 @@ class CreateCategoriesTable extends Migration ...@@ -33,7 +33,10 @@ class CreateCategoriesTable extends Migration
$table->engine = 'InnoDB'; $table->engine = 'InnoDB';
$table->integer('product_id')->unsigned(); $table->integer('product_id')->unsigned();
$table->integer('category_id')->unsigned(); $table->integer('category_id')->unsigned();
$table->primary(['product_id', 'category_id']); $table->primary(
['product_id', 'category_id'],
'firestarter_shop_products_categories_primary'
);
}); });
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment