Sha256: 0974e5055a165b1f0316a18b6638c73e22210230a0587953ab5bc8f92e9510e5

Contents?: true

Size: 156 Bytes

Versions: 32

Compression:

Stored size: 156 Bytes

Contents

class AddTokenToCart < ActiveRecord::Migration
  def change
    add_column :carts, :token, :string
    add_index  :carts, :token, :unique => true
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
artfully_ose-1.3.0.pre4 db/migrate/20130506173918_add_token_to_cart.rb
artfully_ose-1.3.0.pre3 db/migrate/20130506173918_add_token_to_cart.rb
artfully_ose-1.3.0.pre2 db/migrate/20130506173918_add_token_to_cart.rb
artfully_ose-1.3.0.pre1 db/migrate/20130506173918_add_token_to_cart.rb
artfully_ose-1.2.0 db/migrate/20130506173918_add_token_to_cart.rb
artfully_ose-1.2.0.beta.1 db/migrate/20130506173918_add_token_to_cart.rb
artfully_ose-1.2.0.alpha.2 db/migrate/20130506173918_add_token_to_cart.rb
artfully_ose-1.2.0.alpha.1 db/migrate/20130506173918_add_token_to_cart.rb
artfully_ose-1.2.0.pre.27 db/migrate/20130506173918_add_token_to_cart.rb
artfully_ose-1.2.0.pre.26 db/migrate/20130506173918_add_token_to_cart.rb
artfully_ose-1.2.0.pre.24 db/migrate/20130506173918_add_token_to_cart.rb
artfully_ose-1.2.0.pre.23 db/migrate/20130506173918_add_token_to_cart.rb
artfully_ose-1.2.0.pre.21 db/migrate/20130506173918_add_token_to_cart.rb
artfully_ose-1.2.0.pre.20 db/migrate/20130506173918_add_token_to_cart.rb
artfully_ose-1.2.0.pre.19 db/migrate/20130506173918_add_token_to_cart.rb
artfully_ose-1.2.0.pre.18 db/migrate/20130506173918_add_token_to_cart.rb
artfully_ose-1.2.0.pre.17 db/migrate/20130506173918_add_token_to_cart.rb
artfully_ose-1.2.0.pre.16 db/migrate/20130506173918_add_token_to_cart.rb
artfully_ose-1.2.0.pre.15 db/migrate/20130506173918_add_token_to_cart.rb
artfully_ose-1.2.0.pre.12 db/migrate/20130506173918_add_token_to_cart.rb