Sha256: ff047b9a3071dfbdd9ef08e6d92d5402d3e57afd2f78ae0b44906148f6d4329e
Contents?: true
Size: 525 Bytes
Versions: 6
Compression:
Stored size: 525 Bytes
Contents
class CreateInvoiceBarAccounts < ActiveRecord::Migration def change create_table :invoice_bar_accounts do |t| t.string :name, :null => false t.integer :user_id, :null => false t.string :bank_account_number, :default => nil t.string :iban, :default => nil t.string :swift, :default => nil t.integer :amount, :null => false, :default => 0 t.integer :currency_id, :null => false, :default => 1 t.timestamps end add_index :invoice_bar_accounts, :name end end
Version data entries
6 entries across 6 versions & 1 rubygems