ffb224dad90af127f88a6a1aa6898d9559d223f6
[feedcatcher.git] / vendor / rails / activerecord / test / migrations / broken / 100_migration_that_raises_exception.rb
1 class MigrationThatRaisesException < ActiveRecord::Migration
2 def self.up
3 add_column "people", "last_name", :string
4 raise 'Something broke'
5 end
6
7 def self.down
8 remove_column "people", "last_name"
9 end
10 end