diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-12-03 11:44:11 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-12-03 12:00:09 -0800 |
commit | 47737681fdfe4986dc7426b174f81d2b8daca991 (patch) | |
tree | b7dfb614ca77c5c702c030af20fa7ae91cb8a0dc /activerecord/test/migrations/interleaved/pass_2/1_interleaved_people_have_last_names.rb | |
parent | 226ea0e9e817a2e449d989d925c36cf6a4cfd67b (diff) | |
download | rails-47737681fdfe4986dc7426b174f81d2b8daca991.tar.gz rails-47737681fdfe4986dc7426b174f81d2b8daca991.tar.bz2 rails-47737681fdfe4986dc7426b174f81d2b8daca991.zip |
in the middle of refactoring
Diffstat (limited to 'activerecord/test/migrations/interleaved/pass_2/1_interleaved_people_have_last_names.rb')
-rw-r--r-- | activerecord/test/migrations/interleaved/pass_2/1_interleaved_people_have_last_names.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/activerecord/test/migrations/interleaved/pass_2/1_interleaved_people_have_last_names.rb b/activerecord/test/migrations/interleaved/pass_2/1_interleaved_people_have_last_names.rb new file mode 100644 index 0000000000..c6c94213a0 --- /dev/null +++ b/activerecord/test/migrations/interleaved/pass_2/1_interleaved_people_have_last_names.rb @@ -0,0 +1,9 @@ +class InterleavedPeopleHaveLastNames < ActiveRecord::Migration + def self.up + add_column "people", "last_name", :string + end + + def self.down + remove_column "people", "last_name" + end +end |