Sha256: 0dfbdd2a5aedf4f2da4aca56bfab2ab14905080a21028a4dbcf29fb02e1731fe
Contents?: true
Size: 748 Bytes
Versions: 3
Compression:
Stored size: 748 Bytes
Contents
# This migration comes from invoice_bar (originally 20121205185321) class CreateInvoiceBarReceipts < ActiveRecord::Migration def change create_table :invoice_bar_receipts do |t| t.string :number, null: false t.date :issue_date, null: false t.string :contact_name, null: false t.integer :contact_tax_id, default: nil t.string :contact_tax_id2, default: nil t.integer :user_id, null: false t.integer :account_id, null: false t.integer :amount, null: false t.boolean :issuer, null: false, default: true t.timestamps end add_index :invoice_bar_receipts, :number add_index :invoice_bar_receipts, :contact_name add_index :invoice_bar_receipts, :contact_tax_id end end
Version data entries
3 entries across 3 versions & 1 rubygems