diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-01-18 07:28:07 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-01-18 07:28:07 +0000 |
commit | e899a83a85e4c77f9151120ed2ab7afa0b2b3245 (patch) | |
tree | 14d8553d2309c480c9950e3ac19baf3b75c4f9c1 /activerecord/test/migrations/duplicate/1_people_have_last_names.rb | |
parent | 43b81d01d0a175c76fea1cdad2484ceb64ca659b (diff) | |
download | rails-e899a83a85e4c77f9151120ed2ab7afa0b2b3245.tar.gz rails-e899a83a85e4c77f9151120ed2ab7afa0b2b3245.tar.bz2 rails-e899a83a85e4c77f9151120ed2ab7afa0b2b3245.zip |
move migrations
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8658 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/migrations/duplicate/1_people_have_last_names.rb')
-rw-r--r-- | activerecord/test/migrations/duplicate/1_people_have_last_names.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/activerecord/test/migrations/duplicate/1_people_have_last_names.rb b/activerecord/test/migrations/duplicate/1_people_have_last_names.rb new file mode 100644 index 0000000000..81af5fef5e --- /dev/null +++ b/activerecord/test/migrations/duplicate/1_people_have_last_names.rb @@ -0,0 +1,9 @@ +class PeopleHaveLastNames < ActiveRecord::Migration + def self.up + add_column "people", "last_name", :string + end + + def self.down + remove_column "people", "last_name" + end +end
\ No newline at end of file |