To follow up I39b0825c, this change replaces the existing non-unique index on the column with a unique index, to help avoid some of these sort of bugs in the future. Bug: T193180 Change-Id: I932478c9c6a13210bc9dff75286d0f08da56682c
4 lines
150 B
SQL
4 lines
150 B
SQL
-- T193180: ar_rev_id should be unique
|
|
|
|
CREATE UNIQUE INDEX /*i*/ar_revid_uniq ON /*_*/archive (ar_rev_id);
|
|
DROP INDEX /*i*/ar_revid ON /*_*/archive;
|