Sha256: a7b586dcd79566c11fe0ab11923522aaed21810c6fac9db871f3c56d2eb97ac2

Contents?: true

Size: 258 Bytes

Versions: 4

Compression:

Stored size: 258 Bytes

Contents

# frozen_string_literal: true

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 %i[owner_id owner_type]
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
doorkeeper-sequel-2.4.0 lib/doorkeeper-sequel/generators/templates/add_owner_to_application.rb
doorkeeper-sequel-2.3.0 lib/doorkeeper-sequel/generators/templates/add_owner_to_application.rb
doorkeeper-sequel-2.2.0 lib/doorkeeper-sequel/generators/templates/add_owner_to_application.rb
doorkeeper-sequel-2.1.0 lib/doorkeeper-sequel/generators/templates/add_owner_to_application.rb