about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-30 21:32:11 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-30 21:34:59 +0100
commit14bd46946d25186044485aa101dd2da976b61181 (patch)
tree94b59b79d06165469a103b9391ddfaee537e0cab /db/migrate
parent1b447c190eb47117e99ff1e3c754f9cc461202f1 (diff)
Per-status control for unlisted mode, also federation for unlisted mode
Fix #233, fix #268
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20161130185319_add_visibility_to_statuses.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20161130185319_add_visibility_to_statuses.rb b/db/migrate/20161130185319_add_visibility_to_statuses.rb
new file mode 100644
index 000000000..3ad2abe01
--- /dev/null
+++ b/db/migrate/20161130185319_add_visibility_to_statuses.rb
@@ -0,0 +1,5 @@
+class AddVisibilityToStatuses < ActiveRecord::Migration[5.0]
+  def change
+    add_column :statuses, :visibility, :integer, null: false, default: 0
+  end
+end