Sha256: ffd478f73eee6c8ae1bb4e814a21a023d93af54a80a653e6e24de5d63afa5179
Contents?: true
Size: 381 Bytes
Versions: 164
Compression:
Stored size: 381 Bytes
Contents
class CreateParticipates < ActiveRecord::Migration def self.up create_table :participates do |t| t.integer :agent_id, :null => false t.integer :event_id, :null => false t.integer :position t.timestamps end add_index :participates, :event_id add_index :participates, :agent_id end def self.down drop_table :participates end end
Version data entries
164 entries across 160 versions & 9 rubygems