33
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2025-01-26 16:48:29 +00:00
Sebastian Enns 6f4a9518b3
Apply suggestions from code review
Added some new lines at the end of templates, whites-spaces between casting and attribute, replaced back ticks with double quotes.

Co-Authored-By: SharkyKZ <sharkykz@gmail.com>
2019-10-01 13:23:01 +02:00

29 lines
852 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")
);
CREATE TABLE IF NOT EXISTS "#__patchtester_chain" (
"id" serial NOT NULL,
"insert_id" bigint NOT NULL,
"pull_id" bigint NOT NULL,
PRIMARY KEY ("id")
);