2
SET client_min_messages=ERROR;
6
person integer REFERENCES Person(id)
7
ON DELETE CASCADE NOT NULL,
8
bug integer REFERENCES Bug(id)
9
ON DELETE CASCADE NOT NULL,
10
date_created timestamp without time zone
11
DEFAULT timezone('UTC'::text, now()) NOT NULL,
12
CONSTRAINT bugmute_pkey PRIMARY KEY (person, bug)
15
CREATE INDEX bugmute__bug__idx
18
INSERT INTO BugMute (person, bug, date_created)
19
SELECT person, bug, date_created
21
WHERE bug_notification_level=10;
24
WHERE bug_notification_level=10;
26
INSERT INTO LaunchpadDatabaseRevision VALUES (2208, 70, 0);