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/valid_with_timestamps/20100101010101_valid_with_timestamps_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/valid_with_timestamps/20100101010101_valid_with_timestamps_people_have_last_names.rb')
-rw-r--r-- | activerecord/test/migrations/valid_with_timestamps/20100101010101_valid_with_timestamps_people_have_last_names.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/activerecord/test/migrations/valid_with_timestamps/20100101010101_valid_with_timestamps_people_have_last_names.rb b/activerecord/test/migrations/valid_with_timestamps/20100101010101_valid_with_timestamps_people_have_last_names.rb new file mode 100644 index 0000000000..1da99ceaba --- /dev/null +++ b/activerecord/test/migrations/valid_with_timestamps/20100101010101_valid_with_timestamps_people_have_last_names.rb @@ -0,0 +1,9 @@ +class ValidWithTimestampsPeopleHaveLastNames < ActiveRecord::Migration + def self.up + add_column "people", "last_name", :string + end + + def self.down + remove_column "people", "last_name" + end +end |