first commit
This commit is contained in:
2
updates/0.10/ver_0.113_sql.txt
Normal file
2
updates/0.10/ver_0.113_sql.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE pp_shop_producer ADD COLUMN img VARCHAR(50) NULL DEFAULT NULL AFTER name;
|
||||
CREATE TABLE pp_shop_producer_lang ( id INT NOT NULL AUTO_INCREMENT, producer_id INT NOT NULL DEFAULT '0', lang_id VARCHAR(5) NOT NULL DEFAULT '0', description TEXT NULL DEFAULT NULL, PRIMARY KEY (id), INDEX producer_id (producer_id), INDEX lang_id (lang_id), CONSTRAINT FK__pp_shop_producer FOREIGN KEY (producer_id) REFERENCES pp_shop_producer (id) ON UPDATE CASCADE ON DELETE CASCADE, CONSTRAINT FK__pp_langs FOREIGN KEY (lang_id) REFERENCES pp_langs (id) ON UPDATE CASCADE ON DELETE CASCADE ) COLLATE='utf8_polish_ci' ENGINE=InnoDB;
|
||||
Reference in New Issue
Block a user