Show More
Commit Description:
update heartbeat...
Commit Description:
update heartbeat
add try-to-login-from-other-ip loggin (by printing to stdout)
(grafted from 0e4c832eeb6325f9747d2def63c511423a3b70d4)
References:
File last commit:
Show/Diff file:
Action:
db/migrate/005_add_index_to_submissions.rb
| 9 lines
| 219 B
| text/x-ruby
| RubyLexer
|
|
r0 | class AddIndexToSubmissions < ActiveRecord::Migration | ||
def self.up | ||||
add_index :submissions, [:user_id, :problem_id] | ||||
end | ||||
def self.down | ||||
remove_index :submissions, :column => [:user_id, :problem_id] | ||||
end | ||||
end | ||||