about summary refs log tree commit diff
path: root/db/migrate/20190226003449_add_poll_id_to_statuses.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20190226003449_add_poll_id_to_statuses.rb')
-rw-r--r--db/migrate/20190226003449_add_poll_id_to_statuses.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20190226003449_add_poll_id_to_statuses.rb b/db/migrate/20190226003449_add_poll_id_to_statuses.rb
new file mode 100644
index 000000000..692e8f814
--- /dev/null
+++ b/db/migrate/20190226003449_add_poll_id_to_statuses.rb
@@ -0,0 +1,5 @@
+class AddPollIdToStatuses < ActiveRecord::Migration[5.2]
+  def change
+    add_column :statuses, :poll_id, :bigint
+  end
+end