Sha256: bfa1c9674b63940837b9087920acdcd0a5ea92ed0164e23ca100e7481b4b01ba

Contents?: true

Size: 307 Bytes

Versions: 16

Compression:

Stored size: 307 Bytes

Contents

class CreateInvoices < ActiveRecord::Migration
  def change
    create_table :invoices do |t|
      t.string :title
      t.float :total_paid
      t.float :total_charged
      t.boolean :paid
      t.string :received_by
      t.date :invoiced_on
      t.date :paid_on

      t.timestamps
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
query_report-1.0.18 test/dummy/db/migrate/20130630132513_create_invoices.rb
query_report-1.0.17 test/dummy/db/migrate/20130630132513_create_invoices.rb
query_report-1.0.16 test/dummy/db/migrate/20130630132513_create_invoices.rb
query_report-1.0.15 test/dummy/db/migrate/20130630132513_create_invoices.rb
query_report-1.0.14 test/dummy/db/migrate/20130630132513_create_invoices.rb
query_report-1.0.13 test/dummy/db/migrate/20130630132513_create_invoices.rb
query_report-1.0.12 test/dummy/db/migrate/20130630132513_create_invoices.rb
query_report-1.0.11 test/dummy/db/migrate/20130630132513_create_invoices.rb
query_report-1.0.10 test/dummy/db/migrate/20130630132513_create_invoices.rb
query_report-1.0.9 test/dummy/db/migrate/20130630132513_create_invoices.rb
query_report-1.0.8 test/dummy/db/migrate/20130630132513_create_invoices.rb
query_report-1.0.7 test/dummy/db/migrate/20130630132513_create_invoices.rb
query_report-1.0.6 test/dummy/db/migrate/20130630132513_create_invoices.rb
query_report-1.0.5 test/dummy/db/migrate/20130630132513_create_invoices.rb
query_report-1.0.4 test/dummy/db/migrate/20130630132513_create_invoices.rb
query_report-1.0.3 test/dummy/db/migrate/20130630132513_create_invoices.rb