+2016-02-18 Ryosuke Niwa <rniwa@webkit.org>
+
+ Revert an unintended change made in the previous commit.
+
+ * init-database.sql:
+
2016-02-18 Ryosuke Niwa <rniwa@webkit.org>
Perf dashboard should let user cancel pending A/B testing and hide failed ones
CREATE TABLE analysis_test_groups (
testgroup_id serial PRIMARY KEY,
- testgroup_task integer NOT NULL REFERENCES analysis_tasks ON DELETE CASCADE,
+ testgroup_task integer REFERENCES analysis_tasks NOT NULL,
testgroup_name varchar(256),
testgroup_author varchar(256),
testgroup_created_at timestamp NOT NULL DEFAULT (CURRENT_TIMESTAMP AT TIME ZONE 'UTC'),
request_triggerable integer REFERENCES build_triggerables NOT NULL,
request_platform integer REFERENCES platforms NOT NULL,
request_test integer REFERENCES tests NOT NULL,
- request_group integer NOT NULL REFERENCES analysis_test_groups ON DELETE CASCADE,
+ request_group integer REFERENCES analysis_test_groups NOT NULL,
request_order integer NOT NULL,
request_root_set integer REFERENCES root_sets NOT NULL,
request_status build_request_status_type NOT NULL DEFAULT 'pending',