Sha256: 02d27db5eb7637d5fdf3ad017f65c6d9c9bd5c1a1a8fc4dfa7e6fc9444990f5f
Contents?: true
Size: 410 Bytes
Versions: 56
Compression:
Stored size: 410 Bytes
Contents
class CreateReserveStatHasUsers < ActiveRecord::Migration[4.2] def self.up create_table :reserve_stat_has_users do |t| t.references :user_reserve_stat, index: true, foreign_key: true, null: false t.references :user, index: true, foreign_key: true, null: false t.integer :reserves_count t.timestamps end end def self.down drop_table :reserve_stat_has_users end end
Version data entries
56 entries across 56 versions & 4 rubygems