Show More
Commit Description:
- fix hof when user is deleted...
Commit Description:
- fix hof when user is deleted
- user/:id/stat only show available problem for non-admin user
References:
File last commit:
Show/Diff file:
Action:
db/migrate/20100216162940_create_contests_problems_join_table.rb
| 12 lines
| 266 B
| text/x-ruby
| RubyLexer
|
|
r268 | class CreateContestsProblemsJoinTable < ActiveRecord::Migration | ||
def self.up | ||||
create_table :contests_problems, :id => false do |t| | ||||
t.integer :contest_id | ||||
t.integer :problem_id | ||||
end | ||||
end | ||||
def self.down | ||||
drop_table :contests_problems | ||||
end | ||||
end | ||||