Sha256: d863304e45b0ccb68df33f17dbb86d810e9627a3764c55fe0684882cc7317c41
Contents?: true
Size: 522 Bytes
Versions: 3
Compression:
Stored size: 522 Bytes
Contents
# This migration comes from invoice_bar (originally 20121012142442) class CreateInvoiceBarItems < ActiveRecord::Migration def change create_table :invoice_bar_items do |t| t.string :name, null: false t.integer :price, null: false t.string :unit, default: nil t.integer :number, default: nil t.integer :amount, null: false t.integer :itemable_id, null: false t.string :itemable_type, null: false t.timestamps end add_index :invoice_bar_items, :name end end
Version data entries
3 entries across 3 versions & 1 rubygems