diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-05-05 23:04:23 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-05-21 03:16:22 -0500 |
commit | a47b1daaebea09ca07ca93079e530f26cfeef914 (patch) | |
tree | 04f08b28710732d1a9747c64537cd75162a651ca /db | |
parent | 992218f05f76106857f2cb5a72c0bb4510aa4563 (diff) |
Implement scoped tags; use `local:` and `self:` scopes for community and personal tags, respectively.
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20190505072439_add_private_to_tags.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/db/migrate/20190505072439_add_private_to_tags.rb b/db/migrate/20190505072439_add_private_to_tags.rb new file mode 100644 index 000000000..b9a29fe9e --- /dev/null +++ b/db/migrate/20190505072439_add_private_to_tags.rb @@ -0,0 +1,8 @@ +class AddPrivateToTags < ActiveRecord::Migration[5.2] + def change + safety_assured { + add_column :tags, :local, :boolean, default: false, null: false + add_column :tags, :private, :boolean, default: false, null: false + } + end +end |