Merge branch '9783-cwl-error-invalid-dir' closes #9783
[arvados.git] / services / api / db / migrate / 20140709172343_job_task_serial_qsequence.rb
1 class JobTaskSerialQsequence < ActiveRecord::Migration
2   SEQ_NAME = "job_tasks_qsequence_seq"
3
4   def up
5     execute "CREATE SEQUENCE #{SEQ_NAME} OWNED BY job_tasks.qsequence;"
6   end
7
8   def down
9     execute "DROP SEQUENCE #{SEQ_NAME};"
10   end
11 end