about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-04-15 14:04:28 -0500
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:22 -0500
commit89ad628e887f2e7afa9b956c0fb52cfb31f6141b (patch)
tree35c5a1ccc8481f783c6b1142bc550ef7b90351e7 /db/migrate
parentabb8848eb7f8300939fa40ed6d040c754c88506a (diff)
Add `share_key` column to status table in preparation for letting folks generate/revoke links to view private posts.
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20190415185302_add_sharekey_to_status.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20190415185302_add_sharekey_to_status.rb b/db/migrate/20190415185302_add_sharekey_to_status.rb
new file mode 100644
index 000000000..9e7933355
--- /dev/null
+++ b/db/migrate/20190415185302_add_sharekey_to_status.rb
@@ -0,0 +1,5 @@
+class AddSharekeyToStatus < ActiveRecord::Migration[5.2]
+  def change
+    add_column :statuses, :sharekey, :string
+  end
+end