Sha256: f0e09dba2a9b4b1ab28523825ca6efe0aab7b928bc1654d62be1474afb77802b
Contents?: true
Size: 651 Bytes
Versions: 56
Compression:
Stored size: 651 Bytes
Contents
class CreateReserveStatHasManifestations < ActiveRecord::Migration[4.2] 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
56 entries across 56 versions & 4 rubygems