33
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-12-23 11:29:00 +00:00

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.
This commit is contained in:
Richard Fath 2019-05-19 17:20:26 +02:00
parent b5f3246503
commit e020605193
3 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ CREATE TABLE IF NOT EXISTS `#__patchtester_pulls` (
`description` varchar(150) NOT NULL DEFAULT '', `description` varchar(150) NOT NULL DEFAULT '',
`pull_url` varchar(255) NOT NULL, `pull_url` varchar(255) NOT NULL,
`sha` varchar(40) NOT NULL DEFAULT '', `sha` varchar(40) NOT NULL DEFAULT '',
`branch` varchar(255) NOT NULL DEFAULT '', `is_rtc` tinyint(1) NOT NULL DEFAULT 0,
PRIMARY KEY (`id`) PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci; ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;

View File

@ -5,7 +5,7 @@ CREATE TABLE IF NOT EXISTS "#__patchtester_pulls" (
"description" character varying(150) DEFAULT '' NOT NULL, "description" character varying(150) DEFAULT '' NOT NULL,
"pull_url" character varying(255) NOT NULL, "pull_url" character varying(255) NOT NULL,
"sha" character varying(40) DEFAULT '' NOT NULL, "sha" character varying(40) DEFAULT '' NOT NULL,
"branch" character varying(255) DEFAULT '' NOT NULL, "is_rtc" smallint DEFAULT 1 NOT NULL,
PRIMARY KEY ("id") PRIMARY KEY ("id")
); );

View File

@ -5,7 +5,7 @@ CREATE TABLE [#__patchtester_pulls] (
[description] [nvarchar](150) NOT NULL DEFAULT '', [description] [nvarchar](150) NOT NULL DEFAULT '',
[pull_url] [nvarchar](255) NOT NULL, [pull_url] [nvarchar](255) NOT NULL,
[sha] [nvarchar](40) NOT NULL DEFAULT '', [sha] [nvarchar](40) NOT NULL DEFAULT '',
[branch] [nvarchar](255) NOT NULL DEFAULT '', [is_rtc] [smallint] NOT NULL DEFAULT 1,
CONSTRAINT [PK_#__patchtester_pulls] PRIMARY KEY CLUSTERED CONSTRAINT [PK_#__patchtester_pulls] PRIMARY KEY CLUSTERED
( (
[id] ASC [id] ASC