mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2024-11-10 15:21:01 +00:00
e6ca931673
To not cause issues putted a select to drop the tables first. Not an expert on db, so please check if anything more is needed.
25 lines
850 B
SQL
25 lines
850 B
SQL
DROP TABLE IF EXISTS `#__patchtester_pulls`;
|
|
|
|
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,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
|
|
|
DROP TABLE IF EXISTS `#__patchtester_tests`;
|
|
|
|
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,
|
|
`comments` varchar(3000) NOT NULL,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|