aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/migrations/to_copy_with_timestamps/20090101010202_people_have_descriptions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/migrations/to_copy_with_timestamps/20090101010202_people_have_descriptions.rb')
-rw-r--r--activerecord/test/migrations/to_copy_with_timestamps/20090101010202_people_have_descriptions.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/activerecord/test/migrations/to_copy_with_timestamps/20090101010202_people_have_descriptions.rb b/activerecord/test/migrations/to_copy_with_timestamps/20090101010202_people_have_descriptions.rb
new file mode 100644
index 0000000000..1d19d5d6f4
--- /dev/null
+++ b/activerecord/test/migrations/to_copy_with_timestamps/20090101010202_people_have_descriptions.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+class PeopleHaveDescriptions < ActiveRecord::Migration::Current
+ def self.up
+ add_column "people", "description", :text
+ end
+
+ def self.down
+ remove_column "people", "description"
+ end
+end