Sha256: 07d95321ca0149b8b5228e2b647ec42d893cfa8f3b5b4ab96e0975f678d952e5

Contents?: true

Size: 360 Bytes

Versions: 5

Compression:

Stored size: 360 Bytes

Contents

# frozen_string_literal: true
# This migration comes from spree (originally 20210122110141)

class AddNameToSpreeAddresses < ActiveRecord::Migration[5.2]
  def up
    add_column :spree_addresses, :name, :string
    add_index :spree_addresses, :name
  end

  def down
    remove_index :spree_addresses, :name
    remove_column :spree_addresses, :name
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
solidus_i18n-2.2.0 spec/dummy/db/migrate/20210218213849_add_name_to_spree_addresses.spree.rb
solidus_i18n-2.1.1 spec/dummy/db/migrate/20210218213849_add_name_to_spree_addresses.spree.rb
solidus_auth_devise-2.5.4 spec/dummy/db/migrate/20211112052469_add_name_to_spree_addresses.spree.rb
solidus_i18n-2.1.0 spec/dummy/db/migrate/20210218213849_add_name_to_spree_addresses.spree.rb
solidus_auth_devise-2.5.3 spec/dummy/db/migrate/20210129115381_add_name_to_spree_addresses.spree.rb