mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 10:14:17 +08:00
12 lines
316 B
Ruby
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
|