mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: tag group options: limit usage of one tag per group, tags in a group can't be used unless a prerequisite tag is used
This commit is contained in:
6
db/migrate/20160607213656_add_tag_group_options.rb
Normal file
6
db/migrate/20160607213656_add_tag_group_options.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class AddTagGroupOptions < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :tag_groups, :parent_tag_id, :integer
|
||||
add_column :tag_groups, :one_per_topic, :boolean, default: false
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user