Skip to content

Commit 1c3edbd

Browse files
author
Michael Babker
committed
Multi database support
1 parent ebb3968 commit 1c3edbd

File tree

11 files changed

+79
-38
lines changed

11 files changed

+79
-38
lines changed

administrator/components/com_patchtester/install/sql/mysql/install.mysql.utf8.sql renamed to administrator/components/com_patchtester/install/sql/mysql/install.sql

File renamed without changes.

administrator/components/com_patchtester/install/sql/mysql/uninstall.mysql.utf8.sql

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DROP TABLE IF EXISTS `#__patchtester_tests`;
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
CREATE TABLE "#__patchtester_tests" (
2+
"id" serial NOT NULL,
3+
"pull_id" bigint NOT NULL,
4+
"data" text NOT NULL,
5+
"patched_by" bigint NOT NULL,
6+
"applied" bigint NOT NULL,
7+
"applied_version" character varying(25) NOT NULL,
8+
"rating" bigint NOT NULL,
9+
"comments" character varying(3000) DEFAULT '' NOT NULL,
10+
PRIMARY KEY ("id")
11+
);
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DROP TABLE IF EXISTS "#__patchtester_tests";
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
CREATE TABLE [#__patchtester_tests](
2+
[id] [bigint] IDENTITY(1,1) NOT NULL,
3+
[pull_id] [bigint] NOT NULL,
4+
[data] [nvarchar](MAX) NULL,
5+
[patched_by] [bigint] NOT NULL,
6+
[applied] [bigint] NOT NULL,
7+
[applied_version] [nvarchar](25) NOT NULL,
8+
[rating] [bigint] NOT NULL,
9+
[comments] [nvarchar](255) NOT NULL DEFAULT '',
10+
CONSTRAINT [PK_#__patchtester_tests] PRIMARY KEY CLUSTERED
11+
(
12+
[id] ASC
13+
) WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF)
14+
);
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DROP TABLE [#__patchtester_tests];
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Placeholder file to set the database schema version to 2.0.0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Placeholder file to set the database schema version to 2.0.0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Placeholder file to set the database schema version to 2.0.0

0 commit comments

Comments
 (0)