Change DROP INDEX statements to DROP INDEX IF EXISTS, meaning the upgrade does not fail if they do not already exist (which is the desired end state anyway). Bug: T336868 Change-Id: Id073beda84065b067994a7405a78d484346b550d
3 lines
91 B
SQL
3 lines
91 B
SQL
DROP INDEX IF EXISTS cl_from;
|
|
ALTER TABLE categorylinks
|
|
ADD PRIMARY KEY (cl_from, cl_to);
|