Initial Commit
This commit is contained in:
22
local/modules/SliderRevolution/Config/thelia.sql
Normal file
22
local/modules/SliderRevolution/Config/thelia.sql
Normal file
@@ -0,0 +1,22 @@
|
||||
|
||||
# This is a fix for InnoDB in MySQL >= 4.1.x
|
||||
# It "suspends judgement" for fkey relationships until are tables are set.
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
-- ---------------------------------------------------------------------
|
||||
-- slider_association
|
||||
-- ---------------------------------------------------------------------
|
||||
|
||||
DROP TABLE IF EXISTS `slider_association`;
|
||||
|
||||
CREATE TABLE `slider_association`
|
||||
(
|
||||
`id` INTEGER NOT NULL AUTO_INCREMENT,
|
||||
`slider_alias` VARCHAR(255),
|
||||
`object_id` INTEGER NOT NULL,
|
||||
`object_type` VARCHAR(10) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB;
|
||||
|
||||
# This restores the fkey checks, after having unset them earlier
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
Reference in New Issue
Block a user