Sha256: b349e4489882ddda8e24cabadbd57f599bcddf98c52a06ea57874fe8ece2a9d3

Contents?: true

Size: 300 Bytes

Versions: 6

Compression:

Stored size: 300 Bytes

Contents

# frozen_string_literal: true

class AddConfidentialToApplication < ActiveRecord::Migration[5.1]
  def change
    add_column(
      :oauth_applications,
      :confidential,
      :boolean,
      null: false,
      default: true # maintaining backwards compatibility: require secrets
    )
  end
end

Version data entries

6 entries across 6 versions & 3 rubygems

Version Path
doorkeeper-mongodb-4.2.0 spec/dummy/db/migrate/20180210183654_add_confidential_to_application.rb
doorkeeper-sequel-1.5.0 spec/dummy/db/migrate/20180210183654_add_confidential_to_application.rb
doorkeeper-4.4.3 spec/dummy/db/migrate/20180210183654_add_confidential_to_application.rb
doorkeeper-4.4.2 spec/dummy/db/migrate/20180210183654_add_confidential_to_application.rb
doorkeeper-4.4.1 spec/dummy/db/migrate/20180210183654_add_confidential_to_application.rb
doorkeeper-4.4.0 spec/dummy/db/migrate/20180210183654_add_confidential_to_application.rb