diff --git a/administrator/components/com_patchtester/install/sql/mysql/install.sql b/administrator/components/com_patchtester/install/sql/mysql/install.sql index 3efd5b2..156e2e6 100644 --- a/administrator/components/com_patchtester/install/sql/mysql/install.sql +++ b/administrator/components/com_patchtester/install/sql/mysql/install.sql @@ -1,3 +1,5 @@ +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, @@ -6,7 +8,9 @@ CREATE TABLE IF NOT EXISTS `#__patchtester_pulls` ( `pull_url` varchar(255) NOT NULL, `sha` varchar(40) NOT NULL, 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` ( `id` int(11) NOT NULL AUTO_INCREMENT, @@ -17,4 +21,4 @@ CREATE TABLE IF NOT EXISTS `#__patchtester_tests` ( `applied_version` varchar(25) NOT NULL, `comments` varchar(3000) NOT NULL, PRIMARY KEY (`id`) -) DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;