Sha256: 9d7a61fb26c09e587d5013ba147fd6bbbd1b3c5ad83302bd3fbd84bf5ceffed8

Contents?: true

Size: 228 Bytes

Versions: 10

Compression:

Stored size: 228 Bytes

Contents

Sequel.migration do
  change do
    alter_table(:oauth_applications) do
      add_column :owner_id, Integer, null: true
      add_column :owner_type, String, null: true
      add_index [:owner_id, :owner_type]
    end
  end
end

Version data entries

10 entries across 8 versions & 1 rubygems

Version Path
doorkeeper-sequel-2.0.0 lib/doorkeeper-sequel/generators/templates/add_owner_to_application.rb
doorkeeper-sequel-1.5.0 lib/doorkeeper-sequel/generators/templates/add_owner_to_application.rb
doorkeeper-sequel-1.4.0 lib/doorkeeper-sequel/generators/templates/add_owner_to_application.rb
doorkeeper-sequel-1.3.1 lib/doorkeeper-sequel/generators/templates/add_owner_to_application.rb
doorkeeper-sequel-1.3.0 lib/doorkeeper-sequel/generators/templates/add_owner_to_application.rb
doorkeeper-sequel-1.2.3 spec/generators/tmp/dummy/db/migrate/20170810125730_add_owner_to_application.rb
doorkeeper-sequel-1.2.3 lib/generators/doorkeeper/sequel/templates/add_owner_to_application.rb
doorkeeper-sequel-1.2.2 lib/generators/doorkeeper/sequel/templates/add_owner_to_application.rb
doorkeeper-sequel-1.2.1 lib/generators/doorkeeper/sequel/templates/add_owner_to_application.rb
doorkeeper-sequel-1.2.1 spec/stubs/generators/tmp/dummy/db/migrate/20161012132810_add_owner_to_application.rb