Skip to content

Instantly share code, notes, and snippets.

@luckyruby
Created July 31, 2013 18:27
Show Gist options
  • Select an option

  • Save luckyruby/6124734 to your computer and use it in GitHub Desktop.

Select an option

Save luckyruby/6124734 to your computer and use it in GitHub Desktop.
Indexes:
"reservations_pkey" PRIMARY KEY, btree (id)
"index_reservations_on_first_and_last_names" btree (lower(first_name::text), lower(last_name::text))
== UpdateNameIndexToReservations: reverting ==================================
-- remove_index(:reservations, {:name=>"index_reservations_on_first_and_last_names"})
rake aborted!
An error has occurred, this and all later migrations canceled:
Index name 'index_reservations_on_first_and_last_names' on table 'reservations' does not exist
reznet_development=# drop index index_reservations_on_first_and_last_names;
DROP INDEX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment