diff --git a/node/migrations/node/000035_update_feed_contraint.down.sql b/node/migrations/node/000035_update_feed_contraint.down.sql new file mode 100644 index 000000000..12a35296c --- /dev/null +++ b/node/migrations/node/000035_update_feed_contraint.down.sql @@ -0,0 +1,2 @@ +DROP INDEX IF EXISTS feeds_name_config_id_key_idx; +CREATE UNIQUE INDEX feeds_name_key ON feeds (name); \ No newline at end of file diff --git a/node/migrations/node/000035_update_feed_contraint.up.sql b/node/migrations/node/000035_update_feed_contraint.up.sql new file mode 100644 index 000000000..ecfc7c098 --- /dev/null +++ b/node/migrations/node/000035_update_feed_contraint.up.sql @@ -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); \ No newline at end of file