Sha256: e4af154d19a6a41a021327e36d27e30c8a48fa95d5558cf8c650a05fd91edae0

Contents?: true

Size: 599 Bytes

Versions: 3

Compression:

Stored size: 599 Bytes

Contents

class CreateReserveStatHasManifestations < ActiveRecord::Migration
  def self.up
    create_table :reserve_stat_has_manifestations do |t|
      t.integer :manifestation_reserve_stat_id, null: false
      t.integer :manifestation_id, null: false
      t.integer :reserves_count

      t.timestamps
    end
    add_index :reserve_stat_has_manifestations, :manifestation_reserve_stat_id, name: 'index_reserve_stat_has_manifestations_on_m_reserve_stat_id'
    add_index :reserve_stat_has_manifestations, :manifestation_id
  end

  def self.down
    drop_table :reserve_stat_has_manifestations
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
enju_seed-0.3.0.beta.3 spec/dummy/db/migrate/20081216190517_create_reserve_stat_has_manifestations.rb
enju_seed-0.3.0.beta.2 spec/dummy/db/migrate/20081216190517_create_reserve_stat_has_manifestations.rb
enju_seed-0.3.0.beta.1 spec/dummy/db/migrate/20081216190517_create_reserve_stat_has_manifestations.rb