Skip to content

Commit

Permalink
fix: drop constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai committed Nov 5, 2024
1 parent d877fc0 commit 7ab8938
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion node/migrations/node/000035_update_feed_contraint.down.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
DROP INDEX IF EXISTS feeds_name_config_id_key_idx;
ALTER TABLE feeds DROP CONSTRAINT IF EXISTS feeds_name_config_id_key_idx;
CREATE UNIQUE INDEX feeds_name_key ON feeds (name);
2 changes: 1 addition & 1 deletion node/migrations/node/000035_update_feed_contraint.up.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
DROP INDEX IF EXISTS feeds_name_key;
ALTER TABLE feeds DROP CONSTRAINT IF EXISTS feeds_name_key;
CREATE UNIQUE INDEX feeds_name_config_id_key_idx ON feeds (name, config_id);

0 comments on commit 7ab8938

Please sign in to comment.