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:
Neil Lalonde
2016-06-09 16:00:19 -04:00
parent 171dbd4b09
commit a6090339a7
14 changed files with 243 additions and 41 deletions

View 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