add nsfw boolean for tags

This commit is contained in:
Kyle Drake 2014-10-13 17:39:42 -07:00
parent 19bb544b78
commit 56f2f5bfb4

View file

@ -0,0 +1,9 @@
Sequel.migration do
up {
DB.add_column :tags, :is_nsfw, :boolean, default: false, index: true
}
down {
DB.drop_column :tags, :is_nsfw
}
end