Sha256: 7c80d2f1cca9c523e776fadedbe75af378b59045edb3718f7996f09f99924bb3

Contents?: true

Size: 351 Bytes

Versions: 5

Compression:

Stored size: 351 Bytes

Contents

class CreateInvoicedetails < ActiveRecord::Migration
  def self.up
    create_table :invoicedetails do |t|
      t.integer :invoice_id,          :null=>false
      t.integer :orderdetail_id,      :null=>false
      t.integer :invoicedetail_price, :null=>false
      t.timestamps
    end
  end

  def self.down
    drop_table :invoicedetails
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
smukherjee-openbill-0.1.5 db/migrate/20090518105931_create_invoicedetails.rb
smukherjee-openbill-0.1.6 db/migrate/20090518105931_create_invoicedetails.rb
smukherjee-openbill-0.1.7 db/migrate/20090518105931_create_invoicedetails.rb
openbill-0.1.5 db/migrate/20090518105931_create_invoicedetails.rb
openbill-0.1.6 db/migrate/20090518105931_create_invoicedetails.rb