Sha256: 6d191f52c47fa3572a245933e7cea1c462dec9839f5ea8b80ed612dd1316222a

Contents?: true

Size: 210 Bytes

Versions: 1

Compression:

Stored size: 210 Bytes

Contents

# frozen_string_literal: true

class AddIndexToShops < ActiveRecord::Migration[5.1]
  def self.up
    add_index :shops, :shopify_domain
  end

  def self.down
    remove_index :shops, :shopify_domain
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sinatra-embedded-shopify-app-0.5.16 example/db/migrate/20140414042317_add_index_to_shops.rb