Sha256: 59cd67b759099e965559bfd0968a4b26516ab2b12d3dd10dbe24479b2e3ab1ed

Contents?: true

Size: 638 Bytes

Versions: 7

Compression:

Stored size: 638 Bytes

Contents

class CreateBookingTemplates < ActiveRecord::Migration
  def change
    create_table :booking_templates do |t|
      t.string   "title"
      t.string   "amount"
      t.integer  "credit_account_id"
      t.integer  "debit_account_id"
      t.text     "comments"
      t.datetime "created_at",              :null => false
      t.datetime "updated_at",              :null => false
      t.string   "code"
      t.string   "matcher"
      t.string   "amount_relates_to"
      t.string   "type"
      t.string   "charge_rate_code"
      t.string   "salary_declaration_code"
      t.integer  "position"

      t.timestamps
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
has_accounts-2.0.3 db/migrate/20130707121400_create_booking_templates.rb
has_accounts-2.0.2 db/migrate/20130707121400_create_booking_templates.rb
has_accounts-2.0.1 db/migrate/20130707121400_create_booking_templates.rb
has_accounts-2.0.0 db/migrate/20130707121400_create_booking_templates.rb
has_accounts-1.1.3 db/migrate/20130707121400_create_booking_templates.rb
has_accounts-1.1.2 db/migrate/20130707121400_create_booking_templates.rb
has_accounts-1.1.1 db/migrate/20130707121400_create_booking_templates.rb