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.0.2 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.0.1 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-4.4.3 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.0.0 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-4.4.2 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-4.4.1 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.0.0.rc2 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-4.4.0 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-5.0.0.rc1 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-4.3.2 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-4.3.1 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb
doorkeeper-4.3.0 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb.erb