Sha256: 206268cf05dde05646c4f9c58c87ecee497d148b394cba6bb46c8eb243392f31

Contents?: true

Size: 309 Bytes

Versions: 35

Compression:

Stored size: 309 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

35 entries across 35 versions & 3 rubygems

Version Path
doorkeeper-5.2.3 spec/dummy/db/migrate/20151223200000_add_owner_to_application.rb
doorkeeper-5.2.2 spec/dummy/db/migrate/20151223200000_add_owner_to_application.rb
doorkeeper-sequel-2.1.0 spec/dummy/db/migrate/20151223200000_add_owner_to_application.rb
doorkeeper-5.2.1 spec/dummy/db/migrate/20151223200000_add_owner_to_application.rb
doorkeeper-5.2.0 spec/dummy/db/migrate/20151223200000_add_owner_to_application.rb
doorkeeper-5.2.0.rc3 spec/dummy/db/migrate/20151223200000_add_owner_to_application.rb
doorkeeper-5.2.0.rc2 spec/dummy/db/migrate/20151223200000_add_owner_to_application.rb
doorkeeper-5.2.0.rc1 spec/dummy/db/migrate/20151223200000_add_owner_to_application.rb
doorkeeper-5.1.0 spec/dummy/db/migrate/20151223200000_add_owner_to_application.rb
doorkeeper-5.1.0.rc2 spec/dummy/db/migrate/20151223200000_add_owner_to_application.rb
doorkeeper-5.1.0.rc1 spec/dummy/db/migrate/20151223200000_add_owner_to_application.rb
doorkeeper-5.0.2 spec/dummy/db/migrate/20151223200000_add_owner_to_application.rb
doorkeeper-mongodb-5.0.0 spec/dummy/db/migrate/20151223200000_add_owner_to_application.rb
doorkeeper-5.0.1 spec/dummy/db/migrate/20151223200000_add_owner_to_application.rb
doorkeeper-sequel-2.0.0 spec/dummy/db/migrate/20151223200000_add_owner_to_application.rb