retrospring/db/migrate/20200425194536_remove_unused_profile_flags.rb
Karina Kwiatek 2bf7d29e98 Remove unused profile flags / role columns
These were made redundant by #67
2020-04-25 20:51:28 +01:00

10 lines
304 B
Ruby

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