CREATE TABLE tx_text_cookie (id INT AUTO_INCREMENT NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET UTF8 COLLATE UTF8_unicode_ci ENGINE = InnoDB;
CREATE TABLE tx_text_cookie_translation (id INT AUTO_INCREMENT NOT NULL, translatable_id INT DEFAULT NULL, txt_ckt_content LONGTEXT NOT NULL, locale VARCHAR(255) NOT NULL, INDEX IDX_C19EDA52C2AC5D3 (translatable_id), UNIQUE INDEX tx_text_cookie_translation_unique_translation (translatable_id, locale), PRIMARY KEY(id)) DEFAULT CHARACTER SET UTF8 COLLATE UTF8_unicode_ci ENGINE = InnoDB;
ALTER TABLE tx_text_cookie_translation ADD CONSTRAINT FK_C19EDA52C2AC5D3 FOREIGN KEY (translatable_id) REFERENCES tx_text_cookie (id) ON DELETE CASCADE;
