Skip to content

Commit

Permalink
mysql: Add dependency columns to mxq_group table
Browse files Browse the repository at this point in the history
  • Loading branch information
mariux committed Aug 27, 2015
1 parent e7c459b commit 7f513bb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mysql/alter_tables_0.13.0.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ALTER TABLE mxq_group
ADD COLUMN (
depends_on_group INT8 UNSIGNED NULL DEFAULT NULL,
dependency_of_group INT8 UNSIGNED NULL DEFAULT NULL
);
3 changes: 3 additions & 0 deletions mysql/create_tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ CREATE TABLE IF NOT EXISTS mxq_group (
stats_total_real_sec_finished INT8 UNSIGNED NOT NULL DEFAULT 0,
stats_total_wait_sec_finished INT8 UNSIGNED NOT NULL DEFAULT 0,

depends_on_group INT8 UNSIGNED NULL DEFAULT NULL,
dependency_of_group INT8 UNSIGNED NULL DEFAULT NULL,

INDEX(group_id),
INDEX(group_name)
);
Expand Down

0 comments on commit 7f513bb

Please sign in to comment.