retrospring/db/migrate/20200425194536_remove_unused_profile_flags.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
335 B
Ruby
Raw Permalink Normal View History

2023-10-20 01:37:34 +02:00
# frozen_string_literal: true
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