about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-05-21 01:56:16 -0500
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:51 -0500
commit62d667dbf59ec6ff20d5c3ef4442c2607f79ed50 (patch)
tree59f02dcb3fd7b76e302710804da4b6759089371b /db/migrate
parentbf33771c80aa79e9463f1316b1ca473d8d0ddd3b (diff)
add `imported` column to status table to mark posts imported from a json dump
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20190521003040_add_imported_to_statuses.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20190521003040_add_imported_to_statuses.rb b/db/migrate/20190521003040_add_imported_to_statuses.rb
new file mode 100644
index 000000000..e408c21b2
--- /dev/null
+++ b/db/migrate/20190521003040_add_imported_to_statuses.rb
@@ -0,0 +1,5 @@
+class AddImportedToStatuses < ActiveRecord::Migration[5.2]
+  def change
+    add_column :statuses, :imported, :boolean
+  end
+end