Sha256: 3f471618b4bc2c1f7e4af8c3dc3b974af7b6f367146c5bc17f04cba3286d0f20
Contents?: true
Size: 646 Bytes
Versions: 8
Compression:
Stored size: 646 Bytes
Contents
class CreateReserveStatHasManifestations < ActiveRecord::Migration def self.up create_table :reserve_stat_has_manifestations do |t| t.references :manifestation_reserve_stat, index: false, null: false t.references :manifestation, index: false, foreign_key: true, 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
8 entries across 8 versions & 2 rubygems