diff --git a/db/migrate/20180719033247_add_confidential_to_doorkeeper_application.rb b/db/migrate/20180719033247_add_confidential_to_doorkeeper_application.rb index 3ae102431..4e209428e 100644 --- a/db/migrate/20180719033247_add_confidential_to_doorkeeper_application.rb +++ b/db/migrate/20180719033247_add_confidential_to_doorkeeper_application.rb @@ -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,