Sha256: 8c46bb4bbd2b2cf4c2edf4529ca0753a5ba7b70be8ef12f87eaf24ded7015732

Contents?: true

Size: 1.35 KB

Versions: 32

Compression:

Stored size: 1.35 KB

Contents

class CreateLoanPrograms < ActiveRecord::Migration
  def up
    McflyMigration.new.create_table 'gemini_loan_programs' do |t|
      t.string   "name",                                                                   null: false
      t.integer  "amortization_type_id",                                                   null: false
      t.integer  "mortgage_type_id",                                                       null: false
      t.boolean  "conforming",                                             default: true,  null: false
      t.numrange "ltv_ratio_percent_range"
      t.boolean  "high_balance_indicator",                                 default: false, null: false
      t.integer  "loan_amortization_period_count",                         default: 360,   null: false
      t.integer  "streamline_type_id"
      t.integer  "extra_feature_type_id"
      t.integer  "arm_initial_reset_period_count"
      t.decimal  "arm_initial_cap_percent",        precision: 7, scale: 4
      t.decimal  "arm_periodic_cap_percent",       precision: 7, scale: 4
      t.decimal  "arm_lifetime_cap_percent",       precision: 7, scale: 4
      t.integer  "arm_index_type_id"
      t.decimal  "arm_margin_rate_percent",        precision: 7, scale: 4
    end
    McflyMigration.new.add_sql 'gemini_loan_programs', false
  end

  def down
    drop_table 'gemini_loan_programs'
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
marty-1.0.8 spec/dummy/db/migrate/20150408200916_create_loan_programs.rb
marty-1.0.7 spec/dummy/db/migrate/20150408200916_create_loan_programs.rb
marty-1.0.6 spec/dummy/db/migrate/20150408200916_create_loan_programs.rb
marty-1.0.5 spec/dummy/db/migrate/20150408200916_create_loan_programs.rb
marty-1.0.4 spec/dummy/db/migrate/20150408200916_create_loan_programs.rb
marty-1.0.3 spec/dummy/db/migrate/20150408200916_create_loan_programs.rb
marty-1.0.1 spec/dummy/db/migrate/20150408200916_create_loan_programs.rb
marty-1.0.0 spec/dummy/db/migrate/20150408200916_create_loan_programs.rb
marty-0.5.41 spec/dummy/db/migrate/20150408200916_create_loan_programs.rb
marty-0.5.40 spec/dummy/db/migrate/20150408200916_create_loan_programs.rb
marty-0.5.39 spec/dummy/db/migrate/20150408200916_create_loan_programs.rb
marty-0.5.38 spec/dummy/db/migrate/20150408200916_create_loan_programs.rb
marty-0.5.36 spec/dummy/db/migrate/20150408200916_create_loan_programs.rb
marty-0.5.35 spec/dummy/db/migrate/20150408200916_create_loan_programs.rb
marty-0.5.34 spec/dummy/db/migrate/20150408200916_create_loan_programs.rb
marty-0.5.33 spec/dummy/db/migrate/20150408200916_create_loan_programs.rb
marty-0.5.32 spec/dummy/db/migrate/20150408200916_create_loan_programs.rb
marty-0.5.31 spec/dummy/db/migrate/20150408200916_create_loan_programs.rb
marty-0.5.30 spec/dummy/db/migrate/20150408200916_create_loan_programs.rb
marty-0.5.29 spec/dummy/db/migrate/20150408200916_create_loan_programs.rb