Show More
Commit Description:
merge with rails7 branch
Commit Description:
merge with rails7 branch
References:
File last commit:
Show/Diff file:
Action:
db/migrate/20150916054105_update_heart_beat.rb | 10 lines | 310 B | text/x-ruby | RubyLexer |
class UpdateHeartBeat < ActiveRecord::Migration[4.2]
def up
GraderConfiguration.create key: 'right.heartbeat_response', value_type: 'string', value:'OK', description:'Heart beat response text'
add_index :heart_beats, :updated_at
end
def down
remove_index :heart_beats, :updated_at
end
end