Instantly share code, notes, and snippets.

Embed
What would you like to do?
== MoveHostNicsToInterfaces: migrating =======================================
-- add_column(:nics, :primary, :boolean, {:default=>false})
rake aborted!
An error has occurred, all later migrations canceled:
Mysql2::Error: Duplicate column name 'primary': ALTER TABLE `nics` ADD `primary` tinyint(1) DEFAULT 0
Tasks: TOP => db:migrate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment