12 lines
279 B
Ruby
12 lines
279 B
Ruby
|
class AddConfidentialToDoorkeeperApplication < ActiveRecord::Migration[5.1]
|
||
|
def change
|
||
|
add_column(
|
||
|
:oauth_applications,
|
||
|
:confidential,
|
||
|
:boolean,
|
||
|
null: false,
|
||
|
default: true # maintaining backwards compatibility: require secrets
|
||
|
)
|
||
|
end
|
||
|
end
|