influxdb/sqlite/migrations
Jeffrey Smith II 6f50e70960
feat: replicate based on bucket name rather than id (#23638)
* feat: add the ability to replicate based on bucket name rather than bucket id.

- This adds compatibility with 1.x replication targets

* fix: improve error checking and add tests

* fix: add additional constraint to replications table

* fix: use OR not AND for constraint

* feat: delete invalid replications on downgrade

* fix: should be less than 2.4

* test: add test around down migration and cleanup migration code

* fix: use nil instead of platform.ID(1) for better consistency

* fix: fix tests

* fix: fix tests
2022-08-18 14:21:59 -04:00
..
0001_create_migrations_table.down.sql feat: sql migrator can do down migrations (#22806) 2021-11-01 14:30:18 -06:00
0001_create_migrations_table.up.sql feat: sql migrator can do down migrations (#22806) 2021-11-01 14:30:18 -06:00
0002_create_notebooks_table.down.sql feat: sql migrator can do down migrations (#22806) 2021-11-01 14:30:18 -06:00
0002_create_notebooks_table.up.sql feat: sql migrator can do down migrations (#22806) 2021-11-01 14:30:18 -06:00
0003_create_annotations_tables.down.sql feat: sql migrator can do down migrations (#22806) 2021-11-01 14:30:18 -06:00
0003_create_annotations_tables.up.sql feat: sql migrator can do down migrations (#22806) 2021-11-01 14:30:18 -06:00
0004_create_remotes_table.down.sql feat: sql migrator can do down migrations (#22806) 2021-11-01 14:30:18 -06:00
0004_create_remotes_table.up.sql feat: sql migrator can do down migrations (#22806) 2021-11-01 14:30:18 -06:00
0005_create_replications_table.down.sql feat: sql migrator can do down migrations (#22806) 2021-11-01 14:30:18 -06:00
0005_create_replications_table.up.sql feat: add maximum age to replication queues (#23206) 2022-03-25 13:06:05 -05:00
0006_migrate_replications_foreign_key.down.sql fix: do not delete replication on remote config delete (#23493) 2022-08-02 11:03:23 -05:00
0006_migrate_replications_foreign_key.up.sql fix: do not delete replication on remote config delete (#23493) 2022-08-02 11:03:23 -05:00
0007_migrate_replications_add_bucket_name.down.sql feat: replicate based on bucket name rather than id (#23638) 2022-08-18 14:21:59 -04:00
0007_migrate_replications_add_bucket_name.up.sql feat: replicate based on bucket name rather than id (#23638) 2022-08-18 14:21:59 -04:00
all.go feat: sql migrator can do down migrations (#22806) 2021-11-01 14:30:18 -06:00