about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-07-28 09:14:21 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:16 -0500
commit8ce1fd6edb8e5dc1335cdac6c46711441220dbf7 (patch)
treefb57253f05e1e5318839e0b99faff546a9a01315 /db/migrate
parent625121ab53ea4a54d381fb2fe8c3c31244ad6ab7 (diff)
[Feature] Use unprocessed text for edits
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20200728135753_add_original_text_to_statuses.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20200728135753_add_original_text_to_statuses.rb b/db/migrate/20200728135753_add_original_text_to_statuses.rb
new file mode 100644
index 000000000..6bf210191
--- /dev/null
+++ b/db/migrate/20200728135753_add_original_text_to_statuses.rb
@@ -0,0 +1,5 @@
+class AddOriginalTextToStatuses < ActiveRecord::Migration[5.2]
+  def change
+    add_column :statuses, :original_text, :text
+  end
+end