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.0.0 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-2.4.6 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-2.3.9 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-2.2.11 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-2.2.10 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-2.3.8 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-2.4.5 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-3.0.0.rc4 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-3.0.0.rc3 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-2.4.4 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-2.3.7 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-3.0.0.rc1 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-2.4.3 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-2.2.9 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-2.1.12 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-2.4.2 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-2.3.6 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-2.2.8 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-2.1.11 lib/generators/spree/custom_user/templates/migration.rb.tt
spree_core-2.4.1 lib/generators/spree/custom_user/templates/migration.rb.tt