projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
3147: PySDK tests use mock>=1.0 and easier mock side_effect.
[arvados.git]
/
services
/
api
/
db
/
migrate
/
20140828141043_job_priority_fixup.rb
1
class JobPriorityFixup < ActiveRecord::Migration
2
def up
3
remove_column :jobs, :priority
4
add_column :jobs, :priority, :integer, null: false, default: 0
5
end
6
7
def down
8
remove_column :jobs, :priority
9
add_column :jobs, :priority, :string, null: true, default: nil
10
end
11
end