scinote-web/db/migrate/20210217114042_update_doorkeeper_table.rb

13 lines
316 B
Ruby
Raw Normal View History

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