Sha256: f6ee4542a5b0de7e687d31d71399b52ddc7e2068906bccfa57ab65c0ac3e5eeb

Contents?: true

Size: 344 Bytes

Versions: 7

Compression:

Stored size: 344 Bytes

Contents

class CreateTbCheckoutCarts < ActiveRecord::Migration
  def change
    create_table :tb_checkout_carts do |t|
      t.integer :spud_user_id
      t.index :spud_user_id
      t.string :session_id, :limit => 32
      t.boolean :is_completed, :default => false
      t.boolean :is_abandoned, :default => false
      t.timestamps
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tb_checkout-1.1.1 db/migrate/20140703185256_create_tb_checkout_carts.rb
tb_checkout-1.1.0 db/migrate/20140703185256_create_tb_checkout_carts.rb
tb_checkout-1.0.7 db/migrate/20140703185256_create_tb_checkout_carts.rb
tb_checkout-1.0.6 db/migrate/20140703185256_create_tb_checkout_carts.rb
tb_checkout-1.0.5 db/migrate/20140703185256_create_tb_checkout_carts.rb
tb_checkout-1.0.4 db/migrate/20140703185256_create_tb_checkout_carts.rb
tb_checkout-1.0.3 db/migrate/20140703185256_create_tb_checkout_carts.rb