Created
October 25, 2011 05:46
-
-
Save crowdmatt/1311425 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
== RemoveNameFromOrganizations: migrating ==================================== | |
-- remove_column(:organizations, :name) | |
-> 0.1580s | |
-- add_index(:organizations, :domain, {:unique=>true}) | |
rake aborted! | |
An error has occurred, all later migrations canceled: | |
ActiveRecord::JDBCError: Key column 'domain' doesn't exist in table: CREATE UNIQUE INDEX `index_organizations_on_domain` ON `organizations` (`domain`) | |
Tasks: TOP => db:migrate | |
(See full trace by running task with --trace) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment