Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4110688
patch-testrun.sql
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
958 B
Referenced Files
None
Subscribers
None
patch-testrun.sql
View Options
--
-- 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
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Aug 18, 21:57 (1 d, 7 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
30/7f/31a746e07ea3fe54a98a2ce20e52
Default Alt Text
patch-testrun.sql (958 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment