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
97 B
SQL
3 lines
97 B
SQL
DROP INDEX IF EXISTS langlinks_unique;
|
|
ALTER TABLE langlinks
|
|
ADD PRIMARY KEY (ll_from,ll_lang);
|