projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
3898: added include statement
[arvados.git]
/
services
/
api
/
db
/
migrate
/
20140918153705_add_state_to_job.rb
diff --git
a/services/api/db/migrate/20140918153705_add_state_to_job.rb
b/services/api/db/migrate/20140918153705_add_state_to_job.rb
index 810c3a70ce157102abe466d9c1a7a5a8cb3ab2ca..7e14ea8831122192c0b78ad31d7d1e57ac062cc7 100644
(file)
--- a/
services/api/db/migrate/20140918153705_add_state_to_job.rb
+++ b/
services/api/db/migrate/20140918153705_add_state_to_job.rb
@@
-1,4
+1,6
@@
class AddStateToJob < ActiveRecord::Migration
class AddStateToJob < ActiveRecord::Migration
+ include CurrentApiClient
+
def up
if !column_exists?(:jobs, :state)
add_column :jobs, :state, :string
def up
if !column_exists?(:jobs, :state)
add_column :jobs, :state, :string