mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2024-12-22 19:09:00 +00:00
use InnoDB and utf8mb4_unicode_ci in the patchtester too
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.
This commit is contained in:
parent
c46b1be935
commit
e6ca931673
@ -1,3 +1,5 @@
|
|||||||
|
DROP TABLE IF EXISTS `#__patchtester_pulls`;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__patchtester_pulls` (
|
CREATE TABLE IF NOT EXISTS `#__patchtester_pulls` (
|
||||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
`pull_id` int(11) NOT NULL,
|
`pull_id` int(11) NOT NULL,
|
||||||
@ -6,7 +8,9 @@ CREATE TABLE IF NOT EXISTS `#__patchtester_pulls` (
|
|||||||
`pull_url` varchar(255) NOT NULL,
|
`pull_url` varchar(255) NOT NULL,
|
||||||
`sha` varchar(40) NOT NULL,
|
`sha` varchar(40) NOT NULL,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `#__patchtester_tests`;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__patchtester_tests` (
|
CREATE TABLE IF NOT EXISTS `#__patchtester_tests` (
|
||||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -17,4 +21,4 @@ CREATE TABLE IF NOT EXISTS `#__patchtester_tests` (
|
|||||||
`applied_version` varchar(25) NOT NULL,
|
`applied_version` varchar(25) NOT NULL,
|
||||||
`comments` varchar(3000) NOT NULL,
|
`comments` varchar(3000) NOT NULL,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
||||||
|
Loading…
Reference in New Issue
Block a user