summaryrefslogtreecommitdiff
path: root/maintenance/testRunner.postgres.sql
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2011-06-22 11:28:20 +0200
committerPierre Schmitz <pierre@archlinux.de>2011-06-22 11:28:20 +0200
commit9db190c7e736ec8d063187d4241b59feaf7dc2d1 (patch)
tree46d1a0dee7febef5c2d57a9f7b972be16a163b3d /maintenance/testRunner.postgres.sql
parent78677c7bbdcc9739f6c10c75935898a20e1acd9e (diff)
update to MediaWiki 1.17.0
Diffstat (limited to 'maintenance/testRunner.postgres.sql')
-rw-r--r--maintenance/testRunner.postgres.sql30
1 files changed, 0 insertions, 30 deletions
diff --git a/maintenance/testRunner.postgres.sql b/maintenance/testRunner.postgres.sql
deleted file mode 100644
index c15300b5..00000000
--- a/maintenance/testRunner.postgres.sql
+++ /dev/null
@@ -1,30 +0,0 @@
---
--- Optional tables for parserTests recording mode
--- With --record option, success data will be saved to these tables,
--- and comparisons of what's changed from the previous run will be
--- displayed at the end of each run.
---
--- This file is for the Postgres version of the tables
---
-
--- Note: "if exists" will not work on older versions of Postgres
-DROP TABLE IF EXISTS testitem;
-DROP TABLE IF EXISTS testrun;
-DROP SEQUENCE IF EXISTS testrun_id_seq;
-
-CREATE SEQUENCE testrun_id_seq;
-CREATE TABLE testrun (
- tr_id INTEGER PRIMARY KEY NOT NULL DEFAULT nextval('testrun_id_seq'),
- tr_date TIMESTAMPTZ,
- tr_mw_version TEXT,
- tr_php_version TEXT,
- tr_db_version TEXT,
- tr_uname TEXT
-);
-
-CREATE TABLE testitem (
- ti_run INTEGER NOT NULL REFERENCES testrun(tr_id) ON DELETE CASCADE,
- ti_name TEXT NOT NULL,
- ti_success SMALLINT NOT NULL
-);
-CREATE UNIQUE INDEX testitem_uniq ON testitem(ti_run, ti_name);