1
0

20240322161611_remove_obsolete_roles_from_users.rb 306 B

12345678
  1. # frozen_string_literal: true
  2. class RemoveObsoleteRolesFromUsers < ActiveRecord::Migration[7.1]
  3. def change
  4. safety_assured { remove_column :users, :admin, :boolean, default: false, null: false }
  5. safety_assured { remove_column :users, :moderator, :boolean, default: false, null: false }
  6. end
  7. end