Added unique indexes

This commit is contained in:
Marcin Kurczewski 2013-11-18 10:31:04 +01:00
parent e7ec8ea49f
commit 19a8b90ca2

View file

@ -0,0 +1,3 @@
CREATE UNIQUE INDEX idx_uq_postscore_post_id_user_id ON postscore(post_id, user_id);
CREATE UNIQUE INDEX idx_uq_crossref_post_id_post2_id ON crossref(post_id, post2_id);