mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-16 20:22:18 +00:00
9 lines
306 B
Ruby
9 lines
306 B
Ruby
# frozen_string_literal: true
|
|
|
|
class RemoveObsoleteRolesFromUsers < ActiveRecord::Migration[7.1]
|
|
def change
|
|
safety_assured { remove_column :users, :admin, :boolean, default: false, null: false }
|
|
safety_assured { remove_column :users, :moderator, :boolean, default: false, null: false }
|
|
end
|
|
end
|