2015-03-12 16:51:18 +00:00
|
|
|
CREATE TABLE [#__patchtester_pulls] (
|
2014-05-04 21:55:06 +00:00
|
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
|
|
[pull_id] [bigint] NOT NULL,
|
2015-05-09 17:08:34 +00:00
|
|
|
[title] [nvarchar](200) NOT NULL,
|
2015-05-09 17:13:31 +00:00
|
|
|
[description] [nvarchar](150) NOT NULL DEFAULT '',
|
2014-05-04 21:55:06 +00:00
|
|
|
[pull_url] [nvarchar](255) NOT NULL,
|
2016-03-27 17:46:05 +00:00
|
|
|
[sha] [nvarchar](40) NOT NULL DEFAULT '',
|
2016-03-27 19:04:09 +00:00
|
|
|
[is_rtc] [smallint] NOT NULL DEFAULT 1,
|
2017-04-22 16:28:43 +00:00
|
|
|
[branch] [nvarchar](255) NOT NULL DEFAULT '',
|
2014-05-04 21:55:06 +00:00
|
|
|
CONSTRAINT [PK_#__patchtester_pulls] PRIMARY KEY CLUSTERED
|
|
|
|
(
|
|
|
|
[id] ASC
|
|
|
|
) WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF)
|
|
|
|
);
|
|
|
|
|
2013-08-12 21:05:52 +00:00
|
|
|
CREATE TABLE [#__patchtester_tests](
|
2014-05-04 21:55:06 +00:00
|
|
|
[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,
|
2013-08-12 21:05:52 +00:00
|
|
|
CONSTRAINT [PK_#__patchtester_tests] PRIMARY KEY CLUSTERED
|
|
|
|
(
|
2014-05-04 21:55:06 +00:00
|
|
|
[id] ASC
|
2013-08-12 21:05:52 +00:00
|
|
|
) WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF)
|
|
|
|
);
|
2019-09-12 10:08:51 +00:00
|
|
|
|
|
|
|
CREATE TABLE [#__patchtester_chain] (
|
|
|
|
[id] [bigint] IDENTITY(1,1) NOT NULL,
|
|
|
|
[insert_id] [bigint] NOT NULL
|
|
|
|
[pull_id] [bigint] NOT NULL
|
|
|
|
CONSTRAINT [PK_#__patchtester_chain] PRIMARY KEY CLUSTERED
|
|
|
|
(
|
|
|
|
[id] ASC
|
|
|
|
) WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF)
|
|
|
|
);
|