scinote-web/db/migrate/20210217114042_update_doorkeeper_table.rb
2021-02-17 12:54:28 +01:00

12 lines
316 B
Ruby

class UpdateDoorkeeperTable < ActiveRecord::Migration[6.1]
def change
reversible do |dir|
dir.up do
change_column :oauth_access_grants, :scopes, :string, null: false, default: ''
end
dir.down do
change_column :oauth_access_grants, :scopes, :string
end
end
end
end