Sha256: 3da993916010b128a68994ecfac632fc330a3b4bd2acf975266817ebb7230c5a

Contents?: true

Size: 301 Bytes

Versions: 160

Compression:

Stored size: 301 Bytes

Contents

class AddSpreeFieldsToCustomUserTable < ActiveRecord::Migration
  def up
    add_column <%= table_name.inspect %>, :spree_api_key, :string, :limit => 48
    add_column <%= table_name.inspect %>, :ship_address_id, :integer
    add_column <%= table_name.inspect %>, :bill_address_id, :integer
  end
end

Version data entries

160 entries across 160 versions & 3 rubygems

Version Path
spree_core-3.1.14 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-3.1.13 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-3.1.12 lib/generators/spree/custom_user/templates/migration.rb.tt
solidus_core-1.4.2 lib/generators/spree/custom_user/templates/migration.rb.tt
solidus_core-1.3.2 lib/generators/spree/custom_user/templates/migration.rb.tt
solidus_core-1.2.3 lib/generators/spree/custom_user/templates/migration.rb.tt
solidus_core-1.1.4 lib/generators/spree/custom_user/templates/migration.rb.tt
solidus_core-1.0.7 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-3.1.11 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-3.1.10 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-3.1.9 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-3.1.8 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-3.1.7 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-3.1.6 lib/generators/spree/custom_user/templates/migration.rb.tt
solidus_core-1.4.1 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-3.1.5 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-3.1.4 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-3.1.3 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-3.1.2 lib/generators/spree/custom_user/templates/migration.rb.tt
solidus_core-1.4.0 lib/generators/spree/custom_user/templates/migration.rb.tt