Sha256: 78ffcd790a3fd533bd797be0fb45693110ef1b95204a21277a5bc90da6c1f072

Contents?: true

Size: 712 Bytes

Versions: 2

Compression:

Stored size: 712 Bytes

Contents

class CreateAdminSettings < ActiveRecord::Migration[6.0]
  def change
    create_table :rails_marketplace_admin_settings do |t|
    	t.string :timezone
        t.string :unit_system
        t.string :weight_unit
        t.string :order_prefix
        t.string :order_suffix

        t.string :checkout_customer_account
        t.string :checkout_req_last_name
        t.string :checkout_req_company_name
        t.string :checkout_req_address2
        t.string :checkout_req_phone

        t.boolean :checkout_same_shipping_billing
        t.string :checkout_agree_promotion

        t.text :refund_policy
        t.text :privacy_policy
        t.text :terms_of_service
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_marketplace-0.0.2 db/migrate/20170218003202_create_admin_settings.rb
rails_marketplace-0.0.1 db/migrate/20170218003202_create_admin_settings.rb