31
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-06-03 14:10:47 +00:00
patchtester/administrator/components/com_patchtester/install/sql/updates/sqlsrv/2.0.0.sql
Richard Fath e020605193 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.
2019-05-19 17:20:26 +02:00

27 lines
847 B
SQL

CREATE TABLE [#__patchtester_pulls] (
[id] [bigint] IDENTITY(1,1) NOT NULL,
[pull_id] [bigint] NOT NULL,
[title] [nvarchar](200) NOT NULL,
[description] [nvarchar](150) NOT NULL DEFAULT '',
[pull_url] [nvarchar](255) NOT NULL,
[sha] [nvarchar](40) NOT NULL DEFAULT '',
[is_rtc] [smallint] NOT NULL DEFAULT 1,
CONSTRAINT [PK_#__patchtester_pulls] PRIMARY KEY CLUSTERED
(
[id] ASC
) WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF)
);
CREATE TABLE [#__patchtester_tests](
[id] [bigint] IDENTITY(1,1) NOT NULL,
[pull_id] [bigint] NOT NULL,
[data] [nvarchar](MAX) NULL,
[patched_by] [bigint] NOT NULL,
[applied] [bigint] NOT NULL,
[applied_version] [nvarchar](25) NOT NULL,
CONSTRAINT [PK_#__patchtester_tests] PRIMARY KEY CLUSTERED
(
[id] ASC
) WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF)
);