blob: ffb224dad90af127f88a6a1aa6898d9559d223f6 (
plain) (
tree)
|
|
class MigrationThatRaisesException < ActiveRecord::Migration
def self.up
add_column "people", "last_name", :string
raise 'Something broke'
end
def self.down
remove_column "people", "last_name"
end
end
|