Files
database/migrations/000.216.sql
T

19 lines
278 B
SQL

-- P5-5460: add unique contraint on article_id, market_id
-- remove duplicates
DELETE FROM article_content WHERE id IN (
152,
1916,
4255,
1054,
4320,
623,
2121,
3214,
2889
);
ALTER TABLE article_content
ADD UNIQUE (article_id, market_id);