Sha256: c66d5db26b73cafacb092db8dc64eb81f0944d35094d5250c89c224110c495d0

Contents?: true

Size: 298 Bytes

Versions: 32

Compression:

Stored size: 298 Bytes

Contents

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

32 entries across 32 versions & 1 rubygems

Version Path
doorkeeper-5.1.2 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.2.6 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.3.3 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.0.3 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.1.1 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.2.5 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.3.2 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.2.4 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.3.1 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.3.0 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.2.3 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.2.2 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.2.1 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.2.0 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.2.0.rc3 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.2.0.rc2 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.2.0.rc1 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.1.0 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.1.0.rc2 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.1.0.rc1 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb