Skip to content

Commit

Permalink
BIGTOP-4330: Fix some bugs related to ORM (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
lhpqaq authored Jan 20, 2025
1 parent 9b005a5 commit 552ce4b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ public static <Entity> String insertList(TableMetaData tableMetaData, List<Entit
}
idx++;
}
break;
}

default: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<sql id="baseColumns">
id, hostname, agent_dir, ssh_user, ssh_port, auth_type, ssh_password, ssh_key_string, ssh_key_filename, ssh_key_password,
grpc_port, ipv4, ipv6, os, arch, available_processors, free_memory_size, total_memory_size,
free_disk, total_disk, desc, status, err_info, cluster_id
free_disk, total_disk, `desc`, status, err_info, cluster_id
</sql>

<sql id="baseColumnsV2">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ CREATE TABLE `service_config_snapshot`
`id` BIGINT NOT NULL AUTO_INCREMENT,
`name` VARCHAR(255),
`desc` VARCHAR(255),
`config_json` TEXT,
`config_json` LONGTEXT,
`service_id` BIGINT,
`create_time` DATETIME DEFAULT CURRENT_TIMESTAMP,
`update_time` DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
Expand Down

0 comments on commit 552ce4b

Please sign in to comment.