Allow hiding and un-hiding of screenshot by moderators

This commit is contained in:
Christoph Haas 2021-03-10 01:04:28 +01:00
parent f31502c333
commit 5d0e4a520e
6 changed files with 62 additions and 10 deletions

View file

@ -0,0 +1,5 @@
class AddHiddenFieldToScreenshots < ActiveRecord::Migration[6.1]
def change
add_column :screenshots, :hidden, :boolean, default: false
end
end