Last active
December 26, 2015 05:59
-
-
Save jgautsch/7104718 to your computer and use it in GitHub Desktop.
A migration that is stalling
This file contains hidden or 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
# This one worked just fine 20 minutes ago. Nothing has changed since then. | |
class AddSubjectToIfReport < ActiveRecord::Migration | |
def change | |
add_column :if_reports, :subject, :text | |
end | |
end |
This file contains hidden or 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
# This one isn't working. Here is the console output after "bundle exec rake db:migrate" | |
# == AddAckDateToIfReport: migrating =========================================== | |
# -- add_column(:if_reports, :ack_date, :datetime) | |
# | |
class AddAckDateToIfReport < ActiveRecord::Migration | |
def change | |
add_column :if_reports, :ack_date, :datetime | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment