Skip to content

Commit

Permalink
[Bug] Fix error in h2 sql script (#4167)
Browse files Browse the repository at this point in the history
  • Loading branch information
xleoken authored Jan 21, 2025
1 parent 612e28a commit d9b3f12
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ CREATE TABLE IF NOT EXISTS dinky_approval
(
id int(11) AUTO_INCREMENT COMMENT 'id',
task_id int(11) NOT NULL COMMENT 'task id',
tenant_id int(11) NOT NULL COMMENT 'tenant id' default 1,
tenant_id int(11) NOT NULL default 1 COMMENT 'tenant id',
previous_task_version int(11) DEFAULT NULL COMMENT 'previous version of task',
current_task_version int(11) NOT NULL COMMENT 'current version to be reviewed of task',
status VARCHAR(50) NOT NULL COMMENT 'approval status',
Expand All @@ -17,7 +17,7 @@ CREATE TABLE IF NOT EXISTS dinky_approval
reviewer int(11) DEFAULT NULL COMMENT 'reviewer user id',
reviewer_comment varchar(255) DEFAULT NULL COMMENT 'reviewer comment',
create_time datetime(0) null DEFAULT null COMMENT 'create time',
update_time datetime(0) null DEFAULT null COMMENT 'update time',
update_time datetime(0) null DEFAULT null COMMENT 'update time'
) ENGINE = InnoDB ROW_FORMAT = Dynamic;

-- ----------------------------
Expand Down

0 comments on commit d9b3f12

Please sign in to comment.