33
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-11-10 15:21:01 +00:00
patchtester/administrator/components/com_patchtester/install/sql/sqlsrv/install.sql

28 lines
911 B
MySQL
Raw Normal View History

2014-05-04 21:55:06 +00:00
CREATE TABLE IF NOT EXISTS [#__patchtester_pulls] (
[id] [bigint] IDENTITY(1,1) NOT NULL,
[pull_id] [bigint] NOT NULL,
[title] [nvarchar](100) NOT NULL,
[description] [nvarchar](5000) NOT NULL DEFAULT '',
[pull_url] [nvarchar](255) NOT NULL,
[joomlacode_id] [nvarchar](255) NOT NULL DEFAULT '',
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,
[rating] [bigint] NOT NULL,
[comments] [nvarchar](255) NOT NULL DEFAULT '',
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)
);