Show More
Commit Description:
keep all heartbeat instead of only the latest one...
Commit Description:
keep all heartbeat instead of only the latest one
(grafted from 0bdf62fde5fdb94d6f94c2b8b8ebc58ffbe8d2f9)
References:
File last commit:
Show/Diff file:
Action:
db/migrate/20100216162324_create_contests_users_join_table.rb
| 12 lines
| 254 B
| text/x-ruby
| RubyLexer
|
|
r268 | class CreateContestsUsersJoinTable < ActiveRecord::Migration | ||
def self.up | ||||
create_table :contests_users, :id => false do |t| | ||||
t.integer :contest_id | ||||
t.integer :user_id | ||||
end | ||||
end | ||||
def self.down | ||||
drop_table :contests_users | ||||
end | ||||
end | ||||