From e0206051936c38b8f9a49f806d50c2475de177d0 Mon Sep 17 00:00:00 2001 From: Richard Fath Date: Sun, 19 May 2019 17:20:26 +0200 Subject: [PATCH] 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. --- .../com_patchtester/install/sql/updates/mysql/2.0.0.sql | 2 +- .../com_patchtester/install/sql/updates/postgresql/2.0.0.sql | 2 +- .../com_patchtester/install/sql/updates/sqlsrv/2.0.0.sql | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/administrator/components/com_patchtester/install/sql/updates/mysql/2.0.0.sql b/administrator/components/com_patchtester/install/sql/updates/mysql/2.0.0.sql index 5ebc925..0cf1f67 100644 --- a/administrator/components/com_patchtester/install/sql/updates/mysql/2.0.0.sql +++ b/administrator/components/com_patchtester/install/sql/updates/mysql/2.0.0.sql @@ -5,7 +5,7 @@ CREATE TABLE IF NOT EXISTS `#__patchtester_pulls` ( `description` varchar(150) NOT NULL DEFAULT '', `pull_url` varchar(255) NOT NULL, `sha` varchar(40) NOT NULL DEFAULT '', - `branch` varchar(255) NOT NULL DEFAULT '', + `is_rtc` tinyint(1) NOT NULL DEFAULT 0, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci; diff --git a/administrator/components/com_patchtester/install/sql/updates/postgresql/2.0.0.sql b/administrator/components/com_patchtester/install/sql/updates/postgresql/2.0.0.sql index 421c68b..cdbebf1 100644 --- a/administrator/components/com_patchtester/install/sql/updates/postgresql/2.0.0.sql +++ b/administrator/components/com_patchtester/install/sql/updates/postgresql/2.0.0.sql @@ -5,7 +5,7 @@ CREATE TABLE IF NOT EXISTS "#__patchtester_pulls" ( "description" character varying(150) DEFAULT '' NOT NULL, "pull_url" character varying(255) 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") ); diff --git a/administrator/components/com_patchtester/install/sql/updates/sqlsrv/2.0.0.sql b/administrator/components/com_patchtester/install/sql/updates/sqlsrv/2.0.0.sql index 4757341..084438e 100644 --- a/administrator/components/com_patchtester/install/sql/updates/sqlsrv/2.0.0.sql +++ b/administrator/components/com_patchtester/install/sql/updates/sqlsrv/2.0.0.sql @@ -5,7 +5,7 @@ CREATE TABLE [#__patchtester_pulls] ( [description] [nvarchar](150) NOT NULL DEFAULT '', [pull_url] [nvarchar](255) NOT NULL, [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 ( [id] ASC