Authorisation management using CanCanCan added

This commit is contained in:
Christoph Haas 2021-02-28 21:36:46 +01:00
parent 51be4a4777
commit 7a3b65fe50
24 changed files with 211 additions and 295 deletions

View file

@ -0,0 +1,10 @@
class DropDeprecatedScreenshotsFields < ActiveRecord::Migration[6.1]
def change
remove_column :screenshots, :markedfordelete
remove_column :screenshots, :delete_reason
remove_column :screenshots, :image_file_name
remove_column :screenshots, :image_content_type
remove_column :screenshots, :image_file_size
remove_column :screenshots, :image_updated_at
end
end