diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-30 21:32:11 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-30 21:34:59 +0100 |
commit | 14bd46946d25186044485aa101dd2da976b61181 (patch) | |
tree | 94b59b79d06165469a103b9391ddfaee537e0cab /db/migrate | |
parent | 1b447c190eb47117e99ff1e3c754f9cc461202f1 (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.rb | 5 |
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 |