Skip to content

Instantly share code, notes, and snippets.

@mrchrisadams
Created March 16, 2009 23:24
Show Gist options
  • Save mrchrisadams/80161 to your computer and use it in GitHub Desktop.
Save mrchrisadams/80161 to your computer and use it in GitHub Desktop.
== AddAttachmentsPhotoToContent: migrating ===================================
-- add_column(:contents, :photo_file_name, :string)
rake aborted!
An error has occurred, all later migrations canceled:
Mysql::Error: Duplicate column name 'photo_file_name': ALTER TABLE `contents` ADD `photo_file_name` varchar(255)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment