Improved migration.
This commit is contained in:
parent
e36bf7ef53
commit
abd3332524
1 changed files with 1 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
class AddConfidentialToDoorkeeperApplication < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
return if ActiveRecord::Base.connection.column_exists?(:oauth_applications, :confidential)
|
||||
add_column(
|
||||
:oauth_applications,
|
||||
:confidential,
|
||||
|
|
Loading…
Reference in a new issue