aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/migrations/valid_with_timestamps/20100101010101_valid_with_timestamps_people_have_last_names.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-12-03 11:44:11 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2010-12-03 12:00:09 -0800
commit47737681fdfe4986dc7426b174f81d2b8daca991 (patch)
treeb7dfb614ca77c5c702c030af20fa7ae91cb8a0dc /activerecord/test/migrations/valid_with_timestamps/20100101010101_valid_with_timestamps_people_have_last_names.rb
parent226ea0e9e817a2e449d989d925c36cf6a4cfd67b (diff)
downloadrails-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.rb9
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