Skip to content

Commit

Permalink
mysql: Add column job_id_new to table mxq_job to link restarted job
Browse files Browse the repository at this point in the history
  • Loading branch information
mariux committed May 22, 2015
1 parent cc33a09 commit 6c56ab1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mysql/create_tables
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

ALTER TABLE mxq_job
ADD COLUMN job_id_new INT8 UNSIGNED NULL DEFAULT NULL
AFTER date_end;

ALTER TABLE mxq_job
ADD COLUMN job_flags INT8 UNSIGNED NOT NULL DEFAULT 0
AFTER job_status;
Expand Down Expand Up @@ -82,6 +86,8 @@ CREATE TABLE IF NOT EXISTS mxq_job (
date_start TIMESTAMP NOT NULL DEFAULT 0,
date_end TIMESTAMP NOT NULL DEFAULT 0,

job_id_new INT8 UNSIGNED NULL DEFAULT NULL,

stats_status INT4 UNSIGNED NOT NULL DEFAULT 0,

stats_utime_sec INT4 UNSIGNED NOT NULL DEFAULT 0,
Expand Down

0 comments on commit 6c56ab1

Please sign in to comment.