Unverified Commit 2f13a088 authored by Licho's avatar Licho Committed by GitHub

fix: h2 json sql problem (#2653)

* fix: h2 json sql problem Signed-off-by: 's avatarlicho <lecho.sun@gmail.com> * feat: listen all network Signed-off-by: 's avatarlicho <lecho.sun@gmail.com> --------- Signed-off-by: 's avatarlicho <lecho.sun@gmail.com>
parent 45b04942
......@@ -114,7 +114,7 @@ public class PrintTableServiceImpl implements PrintTableService {
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(
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment