Fix buggy slugs_index

This commit is contained in:
Magnus Hoff 2017-09-20 23:30:50 +02:00
parent 53bc5b2df1
commit ea28f4f4f7
2 changed files with 2 additions and 0 deletions

View file

@ -0,0 +1,2 @@
DROP INDEX slugs_index;
CREATE UNIQUE INDEX slugs_index ON article_revisions (slug) WHERE latest=1;