Sha256: e4f63621021429466a19bf54666a73e5c88316f5620e9be31ba15f5c16ccff08

Contents?: true

Size: 609 Bytes

Versions: 6

Compression:

Stored size: 609 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

6 entries across 6 versions & 1 rubygems

Version Path
has_accounts-3.1.0 db/migrate/20130707121400_create_booking_templates.rb
has_accounts-3.0.0.beta3 db/migrate/20130707121400_create_booking_templates.rb
has_accounts-3.0.0.beta2 db/migrate/20130707121400_create_booking_templates.rb
has_accounts-3.0.0.beta1 db/migrate/20130707121400_create_booking_templates.rb
has_accounts-3.0.0.beta0 db/migrate/20130707121400_create_booking_templates.rb
has_accounts-2.1.0 db/migrate/20130707121400_create_booking_templates.rb