Remove unused profile flags / role columns

These were made redundant by #67
This commit is contained in:
Karina Kwiatek 2020-04-25 20:51:28 +01:00
parent 3aa2e5899c
commit 2bf7d29e98
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
class RemoveUnusedProfileFlags < ActiveRecord::Migration[5.2]
def change
remove_column :users, :admin
remove_column :users, :blogger
remove_column :users, :contributor
remove_column :users, :moderator
remove_column :users, :supporter
remove_column :users, :translator
end
end