Sha256: 677bc006d2721fdb8d73604fb957d9061fcb265ef387838bd8e132c6c1effd90

Contents?: true

Size: 285 Bytes

Versions: 1

Compression:

Stored size: 285 Bytes

Contents

class AddOwnerToApplication < ActiveRecord::Migration
  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

1 entries across 1 versions & 1 rubygems

Version Path
couchkeeper-0.6.7 lib/generators/doorkeeper/templates/add_owner_to_application_migration.rb