aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/migrations/to_copy/2_people_have_descriptions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/migrations/to_copy/2_people_have_descriptions.rb')
-rw-r--r--activerecord/test/migrations/to_copy/2_people_have_descriptions.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/activerecord/test/migrations/to_copy/2_people_have_descriptions.rb b/activerecord/test/migrations/to_copy/2_people_have_descriptions.rb
new file mode 100644
index 0000000000..b3d0b30640
--- /dev/null
+++ b/activerecord/test/migrations/to_copy/2_people_have_descriptions.rb
@@ -0,0 +1,9 @@
+class PeopleHaveLastNames < ActiveRecord::Migration
+ def self.up
+ add_column "people", "description", :text
+ end
+
+ def self.down
+ remove_column "people", "description"
+ end
+end