seed stores and suppliers before products on fresh DB

This commit is contained in:
2026-04-06 21:18:30 -06:00
parent 7a70d163c7
commit 5a691a5ddf

View File

@@ -97,6 +97,18 @@ VALUES
('Sprout', 'Hamster', 'Roborovski', 1, 'Available', 26.00), ('Sprout', 'Hamster', 'Roborovski', 1, 'Available', 26.00),
('Bean', 'Hamster', 'Syrian', 2, 'Available', 28.00); ('Bean', 'Hamster', 'Syrian', 2, 'Available', 28.00);
INSERT IGNORE INTO storeLocation (storeId, storeName, address, phone, email) VALUES
(1, 'Downtown Branch', '123 Main St, Calgary, AB', '403-555-0101', 'downtown@petshop.com'),
(2, 'North Branch', '456 North Ave, Calgary, AB', '403-555-0102', 'north@petshop.com'),
(3, 'West Side Store', '789 West Blvd, Calgary, AB', '403-555-0103', 'westside@petshop.com');
INSERT IGNORE INTO supplier (supId, supCompany, supContactFirstName, supContactLastName, supEmail, supPhone) VALUES
(1, 'PetFood Inc', 'Robert', 'King', 'contact@petfood.com', '403-601-1001'),
(2, 'Toy World', 'Jennifer', 'Lee', 'sales@toyworld.com', '403-601-1002'),
(3, 'Pet Supplies Co', 'Kevin', 'White', 'info@petsupplies.com', '403-601-1003'),
(4, 'Animal Care Products', 'Nancy', 'Green', 'orders@animalcare.com', '403-601-1004'),
(5, 'Premium Pet Goods', 'Tom', 'Black', 'support@premiumpet.com', '403-601-1005');
INSERT IGNORE INTO category (categoryId, categoryName, categoryType) VALUES INSERT IGNORE INTO category (categoryId, categoryName, categoryType) VALUES
(1, 'Dog Food', 'Product'), (1, 'Dog Food', 'Product'),
(2, 'Cat Toys', 'Product'), (2, 'Cat Toys', 'Product'),