33
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-12-23 11:29:00 +00:00
patchtester/administrator/components/com_patchtester/install/sql/postgresql/install.sql
Olivier Laverré ed3c646443 Add PostgreSQL (PDO) driver.
To work with J4
2019-04-28 14:51:39 +02:00

22 lines
691 B
SQL

CREATE TABLE IF NOT EXISTS "#__patchtester_pulls" (
"id" serial NOT NULL,
"pull_id" bigint NOT NULL,
"title" character varying(200) NOT NULL,
"description" character varying(150) DEFAULT '' NOT NULL,
"pull_url" character varying(255) NOT NULL,
"sha" character varying(40) DEFAULT '' NOT NULL,
"is_rtc" smallint DEFAULT 1 NOT NULL,
"branch" character varying(255) DEFAULT '' NOT NULL,
PRIMARY KEY ("id")
);
CREATE TABLE IF NOT EXISTS "#__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,
PRIMARY KEY ("id")
);