Sha256: e0f8f73519b9133daca034967d2249e703ffb2a42b33494d5e5beb62529646c6

Contents?: true

Size: 271 Bytes

Versions: 10

Compression:

Stored size: 271 Bytes

Contents

# frozen_string_literal: true

# This migration comes from spree_api (originally 20131017162334)
class AddIndexToUserSpreeApiKey < ActiveRecord::Migration[4.2]
  def change
    if table_exists?(:spree_users)
      add_index :spree_users, :spree_api_key
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
solidus_prototypes-1.6.0 spec/dummy/db/migrate/20231107091989_add_index_to_user_spree_api_key.spree_api.rb
solidus_prototypes-1.5.1 spec/dummy/db/migrate/20231107091989_add_index_to_user_spree_api_key.spree_api.rb
solidus_prototypes-1.5.0 spec/dummy/db/migrate/20231107091989_add_index_to_user_spree_api_key.spree_api.rb
solidus_prototypes-1.4.0 spec/dummy/db/migrate/20231107091989_add_index_to_user_spree_api_key.spree_api.rb
solidus_prototypes-1.3.0 spec/dummy/db/migrate/20230326093447_add_index_to_user_spree_api_key.spree_api.rb
solidus_reports-1.2.0 spec/dummy/db/migrate/20230326095755_add_index_to_user_spree_api_key.spree_api.rb
solidus_prototypes-1.2.0 spec/dummy/db/migrate/20221122203172_add_index_to_user_spree_api_key.spree_api.rb
solidus_prototypes-1.1.1 spec/dummy/db/migrate/20221014070487_add_index_to_user_spree_api_key.spree_api.rb
solidus_reports-1.1.0 spec/dummy/db/migrate/20221012211978_add_index_to_user_spree_api_key.spree_api.rb
solidus_prototypes-1.1.0 spec/dummy/db/migrate/20221012201086_add_index_to_user_spree_api_key.spree_api.rb