Sha256: ec269789aa35cc29c8856cb39417457633a84a4cb0d146911cfc8b68e65a7b9b

Contents?: true

Size: 329 Bytes

Versions: 4

Compression:

Stored size: 329 Bytes

Contents

# frozen_string_literal: true

class AddOwnerToApplication < ActiveRecord::Migration<%= migration_version %>
  def change
    add_column :oauth_applications, :owner_id, :integer, null: true
    add_column :oauth_applications, :owner_type, :string, null: true
    add_index :oauth_applications, [:owner_id, :owner_type]
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
doorkeeper-5.5.0.rc1 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.4.0 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.4.0.rc2 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.4.0.rc1 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb