trabajo-afectivo/db/migrate/20180719033247_add_confidential_to_doorkeeper_application.rb

12 lines
279 B
Ruby
Raw Normal View History

2018-07-19 03:37:08 +00:00
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