Skip to content

Commit eb60255

Browse files
committed
Auto merge of #1845 - integer32llc:remove-index-in-a-migration, r=sgrif
Migration to remove an index already removed from prod by hand This index doesn't exist in production currently, but it still exists in a db created from this codebase because we never made a migration to remove it. Should be a no-op on prod so can be merged and deployed at any time.
2 parents 12c64bc + 38840b9 commit eb60255

File tree

2 files changed

+2
-0
lines changed
  • migrations/2019-09-19-191534_remove-index-already-removed-in-prod

2 files changed

+2
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CREATE INDEX IF NOT EXISTS index_version_crate_id ON versions USING btree (crate_id);
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DROP INDEX IF EXISTS index_version_crate_id;

0 commit comments

Comments
 (0)