31
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-06-03 06:00:47 +00:00
patchtester/administrator/components/com_patchtester/install/sql/updates/mysql/2.0.0.sql
Richard Fath e020605193 Correct 2.0.0 schema updates
Correct 2.0.0 schema updates so that they fit to 2.0.0 new installation and so the 3.0.0 schema updates won't fail.
2019-05-19 17:20:26 +02:00

21 lines
774 B
SQL

CREATE TABLE IF NOT EXISTS `#__patchtester_pulls` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`pull_id` int(11) NOT NULL,
`title` varchar(200) NOT NULL,
`description` varchar(150) NOT NULL DEFAULT '',
`pull_url` varchar(255) NOT NULL,
`sha` varchar(40) NOT NULL DEFAULT '',
`is_rtc` tinyint(1) NOT NULL DEFAULT 0,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
CREATE TABLE IF NOT EXISTS `#__patchtester_tests` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`pull_id` int(11) NOT NULL,
`data` longtext NOT NULL,
`patched_by` int(11) NOT NULL,
`applied` int(11) NOT NULL,
`applied_version` varchar(25) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;