projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
3586: Set job priority column default to '0', add NOT NULL constraint.
[arvados.git]
/
services
/
api
/
db
/
migrate
/
20140828141043_job_priority_fixup.rb
1
class JobPriorityFixup < ActiveRecord::Migration
2
def up
3
change_column :jobs, :priority, :string, null: false, default: "0"
4
end
5
6
def down
7
change_column :jobs, :priority, :string, null: true, default: nil
8
end
9
end