diff --git a/administrator/components/com_patchtester/install/sql/mysql/install.mysql.utf8.sql b/administrator/components/com_patchtester/install/sql/mysql/install.sql similarity index 100% rename from administrator/components/com_patchtester/install/sql/mysql/install.mysql.utf8.sql rename to administrator/components/com_patchtester/install/sql/mysql/install.sql diff --git a/administrator/components/com_patchtester/install/sql/mysql/uninstall.mysql.utf8.sql b/administrator/components/com_patchtester/install/sql/mysql/uninstall.mysql.utf8.sql deleted file mode 100644 index 9740617..0000000 --- a/administrator/components/com_patchtester/install/sql/mysql/uninstall.mysql.utf8.sql +++ /dev/null @@ -1 +0,0 @@ -DROP TABLE IF EXISTS `#__patchtester_tests` diff --git a/administrator/components/com_patchtester/install/sql/mysql/uninstall.sql b/administrator/components/com_patchtester/install/sql/mysql/uninstall.sql new file mode 100644 index 0000000..129486f --- /dev/null +++ b/administrator/components/com_patchtester/install/sql/mysql/uninstall.sql @@ -0,0 +1 @@ +DROP TABLE IF EXISTS `#__patchtester_tests`; diff --git a/administrator/components/com_patchtester/install/sql/postgresql/install.sql b/administrator/components/com_patchtester/install/sql/postgresql/install.sql new file mode 100644 index 0000000..af95464 --- /dev/null +++ b/administrator/components/com_patchtester/install/sql/postgresql/install.sql @@ -0,0 +1,11 @@ +CREATE TABLE "#__patchtester_tests" ( + "id" serial NOT NULL, + "pull_id" bigint NOT NULL, + "data" text NOT NULL, + "patched_by" bigint NOT NULL, + "applied" bigint NOT NULL, + "applied_version" character varying(25) NOT NULL, + "rating" bigint NOT NULL, + "comments" character varying(3000) DEFAULT '' NOT NULL, + PRIMARY KEY ("id") +); diff --git a/administrator/components/com_patchtester/install/sql/postgresql/uninstall.sql b/administrator/components/com_patchtester/install/sql/postgresql/uninstall.sql new file mode 100644 index 0000000..ef04792 --- /dev/null +++ b/administrator/components/com_patchtester/install/sql/postgresql/uninstall.sql @@ -0,0 +1 @@ +DROP TABLE IF EXISTS "#__patchtester_tests"; diff --git a/administrator/components/com_patchtester/install/sql/sqlsrv/install.sql b/administrator/components/com_patchtester/install/sql/sqlsrv/install.sql new file mode 100644 index 0000000..421ea34 --- /dev/null +++ b/administrator/components/com_patchtester/install/sql/sqlsrv/install.sql @@ -0,0 +1,14 @@ +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, + [rating] [bigint] NOT NULL, + [comments] [nvarchar](255) NOT NULL DEFAULT '', + CONSTRAINT [PK_#__patchtester_tests] PRIMARY KEY CLUSTERED +( + [id] ASC +) WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF) +); diff --git a/administrator/components/com_patchtester/install/sql/sqlsrv/uninstall.sql b/administrator/components/com_patchtester/install/sql/sqlsrv/uninstall.sql new file mode 100644 index 0000000..790d920 --- /dev/null +++ b/administrator/components/com_patchtester/install/sql/sqlsrv/uninstall.sql @@ -0,0 +1 @@ +DROP TABLE [#__patchtester_tests]; 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 new file mode 100644 index 0000000..2419691 --- /dev/null +++ b/administrator/components/com_patchtester/install/sql/updates/mysql/2.0.0.sql @@ -0,0 +1 @@ +# Placeholder file to set the database schema version to 2.0.0 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 new file mode 100644 index 0000000..2419691 --- /dev/null +++ b/administrator/components/com_patchtester/install/sql/updates/postgresql/2.0.0.sql @@ -0,0 +1 @@ +# Placeholder file to set the database schema version to 2.0.0 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 new file mode 100644 index 0000000..2419691 --- /dev/null +++ b/administrator/components/com_patchtester/install/sql/updates/sqlsrv/2.0.0.sql @@ -0,0 +1 @@ +# Placeholder file to set the database schema version to 2.0.0 diff --git a/administrator/components/com_patchtester/patchtester.xml b/administrator/components/com_patchtester/patchtester.xml index ce5347e..83363f8 100644 --- a/administrator/components/com_patchtester/patchtester.xml +++ b/administrator/components/com_patchtester/patchtester.xml @@ -1,40 +1,51 @@ - com_patchtester - Joomla! Project - October 2011 - (C) 2011 - 2012 Ian MacLennan, (C) 2013 Open Source Matters, Inc. All rights reserved. - GNU General Public License version 2 or later - admin@joomla.org - http://www.joomla.org - 2.0.0.alpha - COM_PATCHTESTER_XML_DESCRIPTION - - - install/sql/mysql/install.mysql.utf8.sql - - - - - install/sql/mysql/uninstall.mysql.utf8.sql - - - - com_patchtester - - assets - backups - controllers - helpers - install - language - models - tables - views - access.xml - config.xml - controller.php - patchtester.php - - + com_patchtester + Joomla! Project + October 2011 + (C) 2011 - 2012 Ian MacLennan, (C) 2013 Open Source Matters, Inc. All rights reserved. + GNU General Public License version 2 or later + admin@joomla.org + http://www.joomla.org + 2.0.0.alpha + COM_PATCHTESTER_XML_DESCRIPTION + + + install/sql/mysql/install.sql + install/sql/postgresql/install.sql + install/sql/sqlsrv/install.sql + + + + + install/sql/mysql/uninstall.sql + install/sql/postgresql/uninstall.sql + install/sql/sqlsrv/uninstall.sql + + + + + install/sql/updates/mysql + install/sql/updates/postgresql + install/sql/updates/sqlsrv + + + + com_patchtester + + assets + backups + controllers + helpers + install + language + models + tables + views + access.xml + config.xml + controller.php + patchtester.php + +