12 строки
543 B
SQL
12 строки
543 B
SQL
CREATE TABLE `rereview_queue` (
|
|
`id` int(11) unsigned AUTO_INCREMENT NOT NULL PRIMARY KEY,
|
|
`created` datetime NOT NULL,
|
|
`modified` datetime NOT NULL,
|
|
`addon_id` int(11) unsigned NOT NULL
|
|
) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_general_ci;
|
|
|
|
ALTER TABLE `rereview_queue` ADD CONSTRAINT `rereview_queue_addon_id_fk` FOREIGN KEY (`addon_id`) REFERENCES `addons` (`id`);
|
|
|
|
CREATE INDEX `rereview_queue_addon_id_idx` ON `rereview_queue` (`addon_id`);
|
|
CREATE INDEX `rereview_queue_created_idx` ON `rereview_queue` (`created`);
|