Sha256: 073f038209ee46c0110614b96776fa98c8a7ef8387f040cd817d9e6867723bd7

Contents?: true

Size: 1.01 KB

Versions: 94

Compression:

Stored size: 1.01 KB

Contents

class CreateCategories < ActiveRecord::Migration[4.2]
  def up
    ActiveRecord::Migration[4.2].new.create_table 'entities' do |t|
      t.string :name
    end
    McflyAppendOnlyMigration.new.create_table 'gemini_bud_categories' do |t|
      t.string :name
    end
    McflyAppendOnlyMigration.new.add_sql 'gemini_bud_categories', false

    McflyMigration.new.create_table 'gemini_fannie_bups' do |t|
      t.integer  "entity_id"
      t.integer  "bud_category_id",                         null: false
      t.decimal  "note_rate",       precision: 7, scale: 4, null: false
      t.integer  "settlement_mm",                           null: false
      t.integer  "settlement_yy",                           null: false
      t.float    "buy_up",                                  null: false
      t.float    "buy_down",                                null: false
    end
    McflyMigration.new.add_sql 'gemini_fannie_bups', false
  end

  def down
    drop_table 'gemini_bud_categories'
    drop_table 'gemini_fannie_bups'
  end
end

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
marty-14.3.0 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-14.0.0 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-13.0.2 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-11.0.0 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-10.0.3 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-10.0.2 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-10.0.0 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-9.5.1 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-9.5.0 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-9.3.3 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-9.3.2 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-9.3.0 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-8.5.0 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-8.4.1 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-8.3.1 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-8.2.0 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-8.0.0 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-6.1.0 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-5.2.0 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-5.1.4 spec/dummy/db/migrate/20150406171536_create_categories.rb