Sha256: 6efd8a0ca60e7fc13f3276ca2856ebe5d30a6e0ec03568d59021daa31741f575
Contents?: true
Size: 455 Bytes
Versions: 53
Compression:
Stored size: 455 Bytes
Contents
class CreateReserveStatHasUsers < ActiveRecord::Migration[4.2] def self.up create_table :reserve_stat_has_users do |t| t.integer :user_reserve_stat_id, null: false t.integer :user_id, null: false t.integer :reserves_count t.timestamps end add_index :reserve_stat_has_users, :user_reserve_stat_id add_index :reserve_stat_has_users, :user_id end def self.down drop_table :reserve_stat_has_users end end
Version data entries
53 entries across 53 versions & 9 rubygems