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-5.1.3 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-5.1.2 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-5.1.1 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-5.1.0 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-3.1.0 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-3.0.1 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-4.0.0.rc2 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-3.0.0 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-2.9.3 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-2.9.2 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-2.9.1 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-2.8.0 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-2.7.3 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-2.7.2 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-2.7.1 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-2.7.0 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-2.6.8 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-2.6.7 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-2.6.6 spec/dummy/db/migrate/20150406171536_create_categories.rb
marty-2.6.5 spec/dummy/db/migrate/20150406171536_create_categories.rb