Sha256: 6ece921d2bb5083658580838dacea929e9ce39edd2f9b91d6913429b2797da40

Contents?: true

Size: 328 Bytes

Versions: 21

Compression:

Stored size: 328 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
doorkeeper-5.8.0 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.7.1 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.7.0 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.6.9 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.6.8 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.6.7 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.6.6 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.6.5 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.6.4 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.6.3 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.6.2 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.6.1 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.6.0 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.6.0.rc2 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.6.0.rc1 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.5.4 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.5.3 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.5.2 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.5.1 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.5.0 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb