Merge pull request #1 from oleg-schelkunov/master

Update migration so the plugin will be able to install
parents 5eed8ff4 f74b0c44
......@@ -33,7 +33,10 @@ class CreateCategoriesTable extends Migration
$table->engine = 'InnoDB';
$table->integer('product_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