Sha256: 7c8af58b818b7d2228e86b2b6525dc8d98db6d66ac14dbe794c3f60343ca8f04
Contents?: true
Size: 405 Bytes
Versions: 8
Compression:
Stored size: 405 Bytes
Contents
class CreateReserveStatHasUsers < ActiveRecord::Migration 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
8 entries across 8 versions & 2 rubygems