Sha256: 1812c39a99c93b2a8c8386af8b56391d74a8342e5df9df858eb88d70e195fd2b
Contents?: true
Size: 242 Bytes
Versions: 2
Compression:
Stored size: 242 Bytes
Contents
class CreateProducts < ActiveRecord::Migration def change create_table :kms_products do |t| t.string :name t.text :description t.decimal :price, precision: 8, scale: 2 t.timestamps null: false end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kms_catalog-0.5.0 | db/migrate/20141114085509_create_products.rb |
kms_catalog-0.4.0 | db/migrate/20141114085509_create_products.rb |