Remove duplicate table creates

This commit is contained in:
2025-02-11 14:12:12 -05:00
parent 2a6a0d0a87
commit 23c2085f1c
3 changed files with 12 additions and 43 deletions

View File

@@ -79,18 +79,6 @@ CREATE TABLE categories (
INDEX idx_name_type (name, type)
) ENGINE=InnoDB;
-- Create vendor_details table
CREATE TABLE vendor_details (
vendor VARCHAR(100) PRIMARY KEY,
contact_name VARCHAR(100),
email VARCHAR(255),
phone VARCHAR(50),
status VARCHAR(20) DEFAULT 'active',
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
INDEX idx_status (status)
) ENGINE=InnoDB;
-- Create product_categories junction table
CREATE TABLE product_categories (
cat_id BIGINT NOT NULL,