diff --git a/internal/store/postgres/migrations/000017_create_idx_asset_probes_ts_table.down.sql b/internal/store/postgres/migrations/000017_create_idx_asset_probes_ts_table.down.sql new file mode 100644 index 00000000..0254a09a --- /dev/null +++ b/internal/store/postgres/migrations/000017_create_idx_asset_probes_ts_table.down.sql @@ -0,0 +1 @@ +DROP INDEX CONCURRENTLY IF EXISTS idx_asset_probes_ts; diff --git a/internal/store/postgres/migrations/000017_create_idx_asset_probes_ts_table.up.sql b/internal/store/postgres/migrations/000017_create_idx_asset_probes_ts_table.up.sql new file mode 100644 index 00000000..3d7e8936 --- /dev/null +++ b/internal/store/postgres/migrations/000017_create_idx_asset_probes_ts_table.up.sql @@ -0,0 +1 @@ +CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_asset_probes_ts ON asset_probes (timestamp); diff --git a/internal/store/postgres/migrations/000018_create_idx_asset_probes_urn_table.down.sql b/internal/store/postgres/migrations/000018_create_idx_asset_probes_urn_table.down.sql new file mode 100644 index 00000000..ed2edc55 --- /dev/null +++ b/internal/store/postgres/migrations/000018_create_idx_asset_probes_urn_table.down.sql @@ -0,0 +1 @@ +DROP INDEX CONCURRENTLY IF EXISTS idx_asset_probes_urn; diff --git a/internal/store/postgres/migrations/000018_create_idx_asset_probes_urn_table.up.sql b/internal/store/postgres/migrations/000018_create_idx_asset_probes_urn_table.up.sql new file mode 100644 index 00000000..7ffecec5 --- /dev/null +++ b/internal/store/postgres/migrations/000018_create_idx_asset_probes_urn_table.up.sql @@ -0,0 +1 @@ +CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_asset_probes_urn ON asset_probes (asset_urn);