]> git.donarmstrong.com Git - debbugs.git/blob - sql/PostgreSQL/upgrade/5-6/001-auto.sql
fix var typo and add in missing correspondent index
[debbugs.git] / sql / PostgreSQL / upgrade / 5-6 / 001-auto.sql
1 -- Convert schema 'sql/_source/deploy/5/001-auto.yml' to 'sql/_source/deploy/6/001-auto.yml':;
2
3 ;
4 BEGIN;
5
6 ;
7 CREATE INDEX bin_ver_ver_id_idx on bin_ver (ver);
8
9 ;
10 CREATE INDEX bin_ver_src_ver_id_arch_idx on bin_ver (src_ver, arch);
11
12 ;
13 CREATE INDEX bug_idxforwarded on bug (forwarded);
14
15 ;
16 CREATE INDEX bug_idxlast_modified on bug (last_modified);
17
18 ;
19 CREATE INDEX bug_idxcreation on bug (creation);
20
21 ;
22 CREATE INDEX bug_idxlog_modified on bug (log_modified);
23
24 ;
25 CREATE INDEX bug_message_idx_bug_message_number on bug_message (bug, message_number);
26
27 ;
28 CREATE INDEX bug_ver_src_pkg_id_src_ver_id_idx on bug_ver (src_pkg, src_ver);
29
30 ;
31 CREATE INDEX correspondent_full_name_idx_full_name on correspondent_full_name (full_name);
32
33 ;
34 CREATE INDEX correspondent_full_name_idx_last_seen on correspondent_full_name (last_seen);
35
36 ;
37 CREATE INDEX message_msgid_idx on message (msgid);
38
39 ;
40 CREATE INDEX message_subject_idx on message (subject);
41
42 ;
43 CREATE INDEX severity_ordering_idx on severity (ordering);
44
45 ;
46 CREATE INDEX src_pkg_pkg on src_pkg (pkg);
47
48 ;
49
50 COMMIT;
51