Sha256: c9209063932172dbc1fb09b7eb885889448cbb9b64f5d7a13a97ffde5d042f2a

Contents?: true

Size: 208 Bytes

Versions: 3

Compression:

Stored size: 208 Bytes

Contents

class CreateShoppingCartCoupons < ActiveRecord::Migration[5.1]
  def change
    create_table :shopping_cart_coupons do |t|
      t.string :code
      t.decimal :discount

      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
loker-shopping-cart-0.1.3 db/migrate/20180924105514_create_shopping_cart_coupons.rb
loker-shopping-cart-0.1.2 db/migrate/20180924105514_create_shopping_cart_coupons.rb
loker-shopping-cart-0.1.1 db/migrate/20180924105514_create_shopping_cart_coupons.rb