Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: h2 json sql problem #2653

Merged
merged 2 commits into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public void start() {
private static DatagramSocket getDatagramSocket(int port) {
InetAddress host = null;
try {
host = InetAddress.getLocalHost();
host = InetAddress.getByName("0.0.0.0");
return new DatagramSocket(port, host);
} catch (SocketException | UnknownHostException e) {
log.error(
Expand Down
10 changes: 5 additions & 5 deletions dinky-admin/src/main/resources/db/db-h2-ddl.sql
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,13 @@ CREATE TABLE `dinky_history` (
CREATE TABLE `dinky_job_history` (
`id` int(11) NOT null COMMENT 'id',
`tenant_id` int(11) NOT null DEFAULT 1 COMMENT 'tenant id',
`job_json` json null COMMENT 'Job information json',
`exceptions_json` json null COMMENT 'error message json',
`checkpoints_json` json null COMMENT 'checkpoints json',
`checkpoints_config_json` json null COMMENT 'checkpoints configuration json',
`job_json` text null COMMENT 'Job information json',
`exceptions_json` text null COMMENT 'error message json',
`checkpoints_json` text null COMMENT 'checkpoints json',
`checkpoints_config_json` text null COMMENT 'checkpoints configuration json',
`config_json` text null COMMENT 'configuration',
`cluster_json` text null COMMENT 'cluster instance configuration',
`cluster_configuration_json` json null COMMENT 'cluster config',
`cluster_configuration_json` text null COMMENT 'cluster config',
`update_time` datetime(0) null DEFAULT null COMMENT 'update time'
) ENGINE = InnoDB ROW_FORMAT = Dynamic;

Expand Down
Loading