feat(seeds): add seed_product_categories.sql for product-category mapping
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
-- ============================================================
|
||||
-- Supplement: Kategorier från produktfilen
|
||||
-- Kör på servern: mysql -u root -p recipe_app < db/seeds/categories_supplement.sql
|
||||
-- Använder INSERT IGNORE + subqueries — säkert att köra flera gånger.
|
||||
--
|
||||
-- Kör på servern:
|
||||
-- DB_PASS=$(grep MARIADB_ROOT_PASSWORD .env | cut -d= -f2)
|
||||
-- docker exec -i recipe-db mariadb -uroot -p"$DB_PASS" recipe_app < db/seeds/categories_supplement.sql
|
||||
-- ============================================================
|
||||
|
||||
-- ============================================================
|
||||
|
||||
Reference in New Issue
Block a user