Sha256: 7c7cc8cd24b040892809bcdbb7d95cf0ceab164775249715f9dd6a57aa2c020e
Contents?: true
Size: 461 Bytes
Versions: 9
Compression:
Stored size: 461 Bytes
Contents
class CreateSolidusMpCustomers < ActiveRecord::Migration[7.1] def change create_table :solidus_mp_customers do |t| t.string :external_id t.string :email t.string :first_name t.string :identification_type t.string :tax_id t.integer :spree_user_id, null: false t.timestamps t.foreign_key :spree_users, column: :spree_user_id end add_index :solidus_mp_customers, :external_id, unique: true end end
Version data entries
9 entries across 9 versions & 1 rubygems