Skip to content

Commit

Permalink
feat: update contraint for feeds table
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai committed Nov 5, 2024
1 parent faee81b commit d877fc0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions node/migrations/node/000035_update_feed_contraint.down.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DROP INDEX IF EXISTS feeds_name_config_id_key_idx;
CREATE UNIQUE INDEX feeds_name_key ON feeds (name);
2 changes: 2 additions & 0 deletions node/migrations/node/000035_update_feed_contraint.up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DROP INDEX IF EXISTS feeds_name_key;
CREATE UNIQUE INDEX feeds_name_config_id_key_idx ON feeds (name, config_id);

0 comments on commit d877fc0

Please sign in to comment.