Skip to content
This repository
tree: f4586a23df
Fetching contributors…

Cannot retrieve contributors at this time

file 27 lines (26 sloc) 1.167 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
CREATE TABLE `compat_override` (
    `id` int(11) UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
    `created` datetime NOT NULL,
    `modified` datetime NOT NULL,
    `name` varchar(255),
    `guid` varchar(255) NOT NULL UNIQUE,
    `addon_id` int(11) UNSIGNED
) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `compat_override`
    ADD CONSTRAINT FOREIGN KEY (`addon_id`) REFERENCES `addons` (`id`);

CREATE TABLE `compat_override_range` (
    `id` int(11) UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
    `created` datetime NOT NULL,
    `modified` datetime NOT NULL,
    `compat_id` int(11) UNSIGNED NOT NULL,
    `type` smallint NOT NULL,
    `min_version` varchar(255) NOT NULL,
    `max_version` varchar(255) NOT NULL,
    `app_id` int(11) UNSIGNED NOT NULL,
    `min_app_version` varchar(255) NOT NULL,
    `max_app_version` varchar(255) NOT NULL
) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `compat_override_range`
    ADD CONSTRAINT FOREIGN KEY (`app_id`) REFERENCES `applications` (`id`);
ALTER TABLE `compat_override_range`
    ADD CONSTRAINT FOREIGN KEY (`compat_id`) REFERENCES `compat_override` (`id`);
Something went wrong with that request. Please try again.