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