Skip to content

Commit 819e844

Browse files
authored
repo-sync-2025-02-25T11:37:49+0800 (#467)
1 parent 5ebb42c commit 819e844

File tree

376 files changed

+12023
-14135
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

376 files changed

+12023
-14135
lines changed

Diff for: .bazeliskrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
USE_BAZEL_VERSION=7.5.0

Diff for: .bazelrc

+20-5
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@ common --experimental_repo_remote_exec
22
common --experimental_cc_shared_library
33
common --experimental_ui_max_stdouterr_bytes=-1
44

5-
common --experimental_remote_download_regex='.*\/scqlengine$'
5+
common --remote_download_regex='.*\/scqlengine$'
6+
common --registry=https://raw.githubusercontent.com/secretflow/bazel-registry/main
7+
common --registry=https://bcr.bazel.build
8+
common --registry=https://baidu.github.io/babylon/registry
69

7-
build --incompatible_new_actions_api=false
10+
build --incompatible_new_actions_api=false
811
build --copt=-fdiagnostics-color=always
912
build --enable_platform_specific_config
1013

@@ -28,14 +31,26 @@ test --test_timeout=1800
2831

2932
# platform specific config
3033
# Bazel will automatic pick platform config since we have enable_platform_specific_config set
31-
build:macos --copt="-Xpreprocessor -fopenmp"
34+
build:macos --copt=-Xclang=-fopenmp
3235
build:macos --copt=-Wno-unused-command-line-argument
3336
build:macos --features=-supports_dynamic_linker
34-
build:macos --macos_minimum_os=12.0
35-
build:macos --host_macos_minimum_os=12.0
37+
build:macos --macos_minimum_os=13.0
38+
build:macos --host_macos_minimum_os=13.0
39+
build:macos --action_env MACOSX_DEPLOYMENT_TARGET=13.0
3640

3741
# static link libstdc++ & libgcc on Linux
3842
build:linux --copt=-fopenmp
3943
build:linux --linkopt=-fopenmp
4044
build:linux --action_env=BAZEL_LINKOPTS=-static-libstdc++:-static-libgcc
4145
build:linux --action_env=BAZEL_LINKLIBS=-l%:libstdc++.a:-l%:libgcc.a
46+
47+
build:asan --strip=never
48+
build:asan --copt -fno-sanitize-recover=all
49+
build:asan --copt -fsanitize=address
50+
build:asan --copt -Og
51+
build:asan --copt -g
52+
build:asan --copt -fno-omit-frame-pointer
53+
build:asan --linkopt -fsanitize=address
54+
build:asan --define disable_tcmalloc=true
55+
build:asan --copt="-Wno-error=uninitialized"
56+
build:asan --copt="-Wno-error=maybe-uninitialized"

Diff for: .bazelversion

-1
This file was deleted.

Diff for: .ci/broker-docker-compose/mysql/initdb/broker_init_alice.sql

+21-21
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ CREATE TABLE `projects` (
1616
`description` varchar(64) DEFAULT NULL COMMENT '''description''',
1717
`creator` varchar(64) DEFAULT NULL COMMENT '''creator of the project''',
1818
`archived` tinyint(1) DEFAULT NULL COMMENT '''if archived is true, whole project can''t be modified''',
19-
`created_at` timestamp DEFAULT NULL,
20-
`updated_at` timestamp DEFAULT NULL,
19+
`created_at` timestamp(6) DEFAULT NULL,
20+
`updated_at` timestamp(6) DEFAULT NULL,
2121
`project_conf` text,
2222
PRIMARY KEY (`id`)
2323
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
@@ -52,8 +52,8 @@ CREATE TABLE `tables` (
5252
`owner` varchar(64) DEFAULT NULL COMMENT '''ref table''',
5353
`is_view` tinyint(1) DEFAULT NULL COMMENT '''this table is a view''',
5454
`select_string` longtext DEFAULT NULL COMMENT '''the internal select query in string format, the field is valid only when IsView is true''',
55-
`created_at` timestamp DEFAULT NULL,
56-
`updated_at` timestamp DEFAULT NULL,
55+
`created_at` timestamp(6) DEFAULT NULL,
56+
`updated_at` timestamp(6) DEFAULT NULL,
5757
PRIMARY KEY (`project_id`,`table_name`)
5858
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
5959
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -70,8 +70,8 @@ CREATE TABLE `columns` (
7070
`table_name` varchar(64) NOT NULL,
7171
`column_name` varchar(64) NOT NULL,
7272
`data_type` varchar(64) DEFAULT NULL COMMENT '''data type like float''',
73-
`created_at` timestamp DEFAULT NULL,
74-
`updated_at` timestamp DEFAULT NULL,
73+
`created_at` timestamp(6) DEFAULT NULL,
74+
`updated_at` timestamp(6) DEFAULT NULL,
7575
PRIMARY KEY (`project_id`,`table_name`,`column_name`)
7676
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
7777
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -90,8 +90,8 @@ CREATE TABLE `column_privs` (
9090
`column_name` varchar(64) NOT NULL,
9191
`dest_party` varchar(64) NOT NULL,
9292
`priv` varchar(256) DEFAULT NULL COMMENT '''priv of column''',
93-
`created_at` timestamp DEFAULT NULL,
94-
`updated_at` timestamp DEFAULT NULL,
93+
`created_at` timestamp(6) DEFAULT NULL,
94+
`updated_at` timestamp(6) DEFAULT NULL,
9595
PRIMARY KEY (`project_id`,`table_name`,`column_name`,`dest_party`)
9696
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
9797
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -109,14 +109,14 @@ CREATE TABLE `invitations` (
109109
`name` varchar(64) DEFAULT NULL COMMENT '''name''',
110110
`description` varchar(64) DEFAULT NULL COMMENT '''description''',
111111
`creator` varchar(64) DEFAULT NULL COMMENT '''creator of the project''',
112-
`proj_created_at` timestamp DEFAULT NULL COMMENT '''the create time of the project''',
112+
`proj_created_at` timestamp(6) DEFAULT NULL COMMENT '''the create time of the project''',
113113
`member` varchar(64) NOT NULL COMMENT '''members, flattened string, like: alice',
114114
`inviter` varchar(256) DEFAULT NULL COMMENT '''inviter''',
115115
`invitee` varchar(256) DEFAULT NULL COMMENT '''invitee''',
116116
`status` tinyint(4) DEFAULT '0' COMMENT '''0: default, not decided to accept invitation or not; 1: accepted; 2: rejected; 3: invalid''',
117-
`invite_time` timestamp DEFAULT NULL,
118-
`created_at` timestamp DEFAULT NULL,
119-
`updated_at` timestamp DEFAULT NULL,
117+
`invite_time` timestamp(6) DEFAULT NULL,
118+
`created_at` timestamp(6) DEFAULT NULL,
119+
`updated_at` timestamp(6) DEFAULT NULL,
120120
`project_conf` text,
121121
PRIMARY KEY (`id`),
122122
INDEX `idx_project_id_inviter_invitee_identifier` (`project_id`,`inviter`, `invitee`)
@@ -141,9 +141,9 @@ CREATE TABLE `session_infos` (
141141
`work_parties` longtext NOT NULL COMMENT '''parties involved, flattened string, like: alice',
142142
`output_names` longtext COMMENT '''output column names, flattened string, like: col1,col2''',
143143
`warning` longblob COMMENT '''warning infos, serialized from pb.Warning''',
144-
`created_at` timestamp DEFAULT NULL,
145-
`updated_at` timestamp DEFAULT NULL,
146-
`expired_at` timestamp DEFAULT NULL,
144+
`created_at` timestamp(6) DEFAULT NULL,
145+
`updated_at` timestamp(6) DEFAULT NULL,
146+
`expired_at` timestamp(6) DEFAULT NULL,
147147
PRIMARY KEY (`session_id`)
148148
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
149149
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -158,9 +158,9 @@ DROP TABLE IF EXISTS `session_results`;
158158
CREATE TABLE `session_results` (
159159
`session_id` varchar(64) NOT NULL COMMENT '''unique session id''',
160160
`result` longblob COMMENT '''query result, serialized from protobuf message''',
161-
`created_at` timestamp DEFAULT NULL,
162-
`updated_at` timestamp DEFAULT NULL,
163-
`expired_at` timestamp DEFAULT NULL,
161+
`created_at` timestamp(6) DEFAULT NULL,
162+
`updated_at` timestamp(6) DEFAULT NULL,
163+
`expired_at` timestamp(6) DEFAULT NULL,
164164
PRIMARY KEY (`session_id`)
165165
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
166166
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -173,10 +173,10 @@ DROP TABLE IF EXISTS `locks`;
173173
/*!40101 SET @saved_cs_client = @@character_set_client */;
174174
/*!50503 SET character_set_client = utf8mb4 */;
175175
CREATE TABLE `locks` (
176-
`id` tinyint NOT NULL AUTO_INCREMENT COMMENT '''lock id''',
176+
`id` bigint NOT NULL COMMENT '''lock id''',
177177
`owner` varchar(64) DEFAULT NULL COMMENT '''lock owner''',
178-
`updated_at` timestamp DEFAULT NULL,
179-
`expired_at` timestamp DEFAULT NULL,
178+
`updated_at` timestamp(6) DEFAULT NULL,
179+
`expired_at` timestamp(6) DEFAULT NULL,
180180
PRIMARY KEY (`id`)
181181
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
182182
/*!40101 SET character_set_client = @saved_cs_client */;

Diff for: .ci/broker-docker-compose/mysql/initdb/broker_init_bob.sql

+21-21
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ CREATE TABLE `projects` (
1616
`description` varchar(64) DEFAULT NULL COMMENT '''description''',
1717
`creator` varchar(64) DEFAULT NULL COMMENT '''creator of the project''',
1818
`archived` tinyint(1) DEFAULT NULL COMMENT '''if archived is true, whole project can''t be modified''',
19-
`created_at` timestamp DEFAULT NULL,
20-
`updated_at` timestamp DEFAULT NULL,
19+
`created_at` timestamp(6) DEFAULT NULL,
20+
`updated_at` timestamp(6) DEFAULT NULL,
2121
`project_conf` text,
2222
PRIMARY KEY (`id`)
2323
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
@@ -53,8 +53,8 @@ CREATE TABLE `tables` (
5353
`owner` varchar(64) DEFAULT NULL COMMENT '''ref table''',
5454
`is_view` tinyint(1) DEFAULT NULL COMMENT '''this table is a view''',
5555
`select_string` longtext DEFAULT NULL COMMENT '''the internal select query in string format, the field is valid only when IsView is true''',
56-
`created_at` timestamp DEFAULT NULL,
57-
`updated_at` timestamp DEFAULT NULL,
56+
`created_at` timestamp(6) DEFAULT NULL,
57+
`updated_at` timestamp(6) DEFAULT NULL,
5858
PRIMARY KEY (`project_id`,`table_name`)
5959
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
6060
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -71,8 +71,8 @@ CREATE TABLE `columns` (
7171
`table_name` varchar(64) NOT NULL,
7272
`column_name` varchar(64) NOT NULL,
7373
`data_type` varchar(64) DEFAULT NULL COMMENT '''data type like float''',
74-
`created_at` timestamp DEFAULT NULL,
75-
`updated_at` timestamp DEFAULT NULL,
74+
`created_at` timestamp(6) DEFAULT NULL,
75+
`updated_at` timestamp(6) DEFAULT NULL,
7676
PRIMARY KEY (`project_id`,`table_name`,`column_name`)
7777
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
7878
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -91,8 +91,8 @@ CREATE TABLE `column_privs` (
9191
`column_name` varchar(64) NOT NULL,
9292
`dest_party` varchar(64) NOT NULL,
9393
`priv` varchar(256) DEFAULT NULL COMMENT '''priv of column''',
94-
`created_at` timestamp DEFAULT NULL,
95-
`updated_at` timestamp DEFAULT NULL,
94+
`created_at` timestamp(6) DEFAULT NULL,
95+
`updated_at` timestamp(6) DEFAULT NULL,
9696
PRIMARY KEY (`project_id`,`table_name`,`column_name`,`dest_party`)
9797
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
9898
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -110,14 +110,14 @@ CREATE TABLE `invitations` (
110110
`name` varchar(64) DEFAULT NULL COMMENT '''name''',
111111
`description` varchar(64) DEFAULT NULL COMMENT '''description''',
112112
`creator` varchar(64) DEFAULT NULL COMMENT '''creator of the project''',
113-
`proj_created_at` timestamp DEFAULT NULL COMMENT '''the create time of the project''',
113+
`proj_created_at` timestamp(6) DEFAULT NULL COMMENT '''the create time of the project''',
114114
`member` varchar(64) NOT NULL COMMENT '''members, flattened string, like: alice',
115115
`inviter` varchar(256) DEFAULT NULL COMMENT '''inviter''',
116116
`invitee` varchar(256) DEFAULT NULL COMMENT '''invitee''',
117117
`status` tinyint(4) DEFAULT '0' COMMENT '''0: default, not decided to accept invitation or not; 1: accepted; 2: rejected; 3: invalid''',
118-
`invite_time` timestamp DEFAULT NULL,
119-
`created_at` timestamp DEFAULT NULL,
120-
`updated_at` timestamp DEFAULT NULL,
118+
`invite_time` timestamp(6) DEFAULT NULL,
119+
`created_at` timestamp(6) DEFAULT NULL,
120+
`updated_at` timestamp(6) DEFAULT NULL,
121121
`project_conf` text,
122122
PRIMARY KEY (`id`),
123123
INDEX `idx_project_id_inviter_invitee_identifier` (`project_id`,`inviter`, `invitee`)
@@ -142,9 +142,9 @@ CREATE TABLE `session_infos` (
142142
`work_parties` longtext NOT NULL COMMENT '''parties involved, flattened string, like: alice',
143143
`output_names` longtext COMMENT '''output column names, flattened string, like: col1,col2''',
144144
`warning` longblob COMMENT '''warning infos, serialized from pb.Warning''',
145-
`created_at` timestamp DEFAULT NULL,
146-
`updated_at` timestamp DEFAULT NULL,
147-
`expired_at` timestamp DEFAULT NULL,
145+
`created_at` timestamp(6) DEFAULT NULL,
146+
`updated_at` timestamp(6) DEFAULT NULL,
147+
`expired_at` timestamp(6) DEFAULT NULL,
148148
PRIMARY KEY (`session_id`)
149149
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
150150
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -159,9 +159,9 @@ DROP TABLE IF EXISTS `session_results`;
159159
CREATE TABLE `session_results` (
160160
`session_id` varchar(64) NOT NULL COMMENT '''unique session id''',
161161
`result` longblob COMMENT '''query result, serialized from protobuf message''',
162-
`created_at` timestamp DEFAULT NULL,
163-
`updated_at` timestamp DEFAULT NULL,
164-
`expired_at` timestamp DEFAULT NULL,
162+
`created_at` timestamp(6) DEFAULT NULL,
163+
`updated_at` timestamp(6) DEFAULT NULL,
164+
`expired_at` timestamp(6) DEFAULT NULL,
165165
PRIMARY KEY (`session_id`)
166166
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
167167
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -174,10 +174,10 @@ DROP TABLE IF EXISTS `locks`;
174174
/*!40101 SET @saved_cs_client = @@character_set_client */;
175175
/*!50503 SET character_set_client = utf8mb4 */;
176176
CREATE TABLE `locks` (
177-
`id` tinyint NOT NULL AUTO_INCREMENT COMMENT '''lock id''',
177+
`id` bigint NOT NULL COMMENT '''lock id''',
178178
`owner` varchar(64) DEFAULT NULL COMMENT '''lock owner''',
179-
`updated_at` timestamp DEFAULT NULL,
180-
`expired_at` timestamp DEFAULT NULL,
179+
`updated_at` timestamp(6) DEFAULT NULL,
180+
`expired_at` timestamp(6) DEFAULT NULL,
181181
PRIMARY KEY (`id`)
182182
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
183183
/*!40101 SET character_set_client = @saved_cs_client */;

Diff for: .ci/broker-docker-compose/mysql/initdb/broker_init_carol.sql

+21-21
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ CREATE TABLE `projects` (
1616
`description` varchar(64) DEFAULT NULL COMMENT '''description''',
1717
`creator` varchar(64) DEFAULT NULL COMMENT '''creator of the project''',
1818
`archived` tinyint(1) DEFAULT NULL COMMENT '''if archived is true, whole project can''t be modified''',
19-
`created_at` timestamp DEFAULT NULL,
20-
`updated_at` timestamp DEFAULT NULL,
19+
`created_at` timestamp(6) DEFAULT NULL,
20+
`updated_at` timestamp(6) DEFAULT NULL,
2121
`project_conf` text,
2222
PRIMARY KEY (`id`)
2323
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
@@ -53,8 +53,8 @@ CREATE TABLE `tables` (
5353
`owner` varchar(64) DEFAULT NULL COMMENT '''ref table''',
5454
`is_view` tinyint(1) DEFAULT NULL COMMENT '''this table is a view''',
5555
`select_string` longtext DEFAULT NULL COMMENT '''the internal select query in string format, the field is valid only when IsView is true''',
56-
`created_at` timestamp DEFAULT NULL,
57-
`updated_at` timestamp DEFAULT NULL,
56+
`created_at` timestamp(6) DEFAULT NULL,
57+
`updated_at` timestamp(6) DEFAULT NULL,
5858
PRIMARY KEY (`project_id`,`table_name`)
5959
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
6060
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -71,8 +71,8 @@ CREATE TABLE `columns` (
7171
`table_name` varchar(64) NOT NULL,
7272
`column_name` varchar(64) NOT NULL,
7373
`data_type` varchar(64) DEFAULT NULL COMMENT '''data type like float''',
74-
`created_at` timestamp DEFAULT NULL,
75-
`updated_at` timestamp DEFAULT NULL,
74+
`created_at` timestamp(6) DEFAULT NULL,
75+
`updated_at` timestamp(6) DEFAULT NULL,
7676
PRIMARY KEY (`project_id`,`table_name`,`column_name`)
7777
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
7878
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -91,8 +91,8 @@ CREATE TABLE `column_privs` (
9191
`column_name` varchar(64) NOT NULL,
9292
`dest_party` varchar(64) NOT NULL,
9393
`priv` varchar(256) DEFAULT NULL COMMENT '''priv of column''',
94-
`created_at` timestamp DEFAULT NULL,
95-
`updated_at` timestamp DEFAULT NULL,
94+
`created_at` timestamp(6) DEFAULT NULL,
95+
`updated_at` timestamp(6) DEFAULT NULL,
9696
PRIMARY KEY (`project_id`,`table_name`,`column_name`,`dest_party`)
9797
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
9898
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -110,14 +110,14 @@ CREATE TABLE `invitations` (
110110
`name` varchar(64) DEFAULT NULL COMMENT '''name''',
111111
`description` varchar(64) DEFAULT NULL COMMENT '''description''',
112112
`creator` varchar(64) DEFAULT NULL COMMENT '''creator of the project''',
113-
`proj_created_at` timestamp DEFAULT NULL COMMENT '''the create time of the project''',
113+
`proj_created_at` timestamp(6) DEFAULT NULL COMMENT '''the create time of the project''',
114114
`member` varchar(64) NOT NULL COMMENT '''members, flattened string, like: alice',
115115
`inviter` varchar(256) DEFAULT NULL COMMENT '''inviter''',
116116
`invitee` varchar(256) DEFAULT NULL COMMENT '''invitee''',
117117
`status` tinyint(4) DEFAULT '0' COMMENT '''0: default, not decided to accept invitation or not; 1: accepted; 2: rejected; 3: invalid''',
118-
`invite_time` timestamp DEFAULT NULL,
119-
`created_at` timestamp DEFAULT NULL,
120-
`updated_at` timestamp DEFAULT NULL,
118+
`invite_time` timestamp(6) DEFAULT NULL,
119+
`created_at` timestamp(6) DEFAULT NULL,
120+
`updated_at` timestamp(6) DEFAULT NULL,
121121
`project_conf` text,
122122
PRIMARY KEY (`id`),
123123
INDEX `idx_project_id_inviter_invitee_identifier` (`project_id`,`inviter`, `invitee`)
@@ -142,9 +142,9 @@ CREATE TABLE `session_infos` (
142142
`work_parties` longtext NOT NULL COMMENT '''parties involved, flattened string, like: alice',
143143
`output_names` longtext COMMENT '''output column names, flattened string, like: col1,col2''',
144144
`warning` longblob COMMENT '''warning infos, serialized from pb.Warning''',
145-
`created_at` timestamp DEFAULT NULL,
146-
`updated_at` timestamp DEFAULT NULL,
147-
`expired_at` timestamp DEFAULT NULL,
145+
`created_at` timestamp(6) DEFAULT NULL,
146+
`updated_at` timestamp(6) DEFAULT NULL,
147+
`expired_at` timestamp(6) DEFAULT NULL,
148148
PRIMARY KEY (`session_id`)
149149
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
150150
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -159,9 +159,9 @@ DROP TABLE IF EXISTS `session_results`;
159159
CREATE TABLE `session_results` (
160160
`session_id` varchar(64) NOT NULL COMMENT '''unique session id''',
161161
`result` longblob COMMENT '''query result, serialized from protobuf message''',
162-
`created_at` timestamp DEFAULT NULL,
163-
`updated_at` timestamp DEFAULT NULL,
164-
`expired_at` timestamp DEFAULT NULL,
162+
`created_at` timestamp(6) DEFAULT NULL,
163+
`updated_at` timestamp(6) DEFAULT NULL,
164+
`expired_at` timestamp(6) DEFAULT NULL,
165165
PRIMARY KEY (`session_id`)
166166
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
167167
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -174,10 +174,10 @@ DROP TABLE IF EXISTS `locks`;
174174
/*!40101 SET @saved_cs_client = @@character_set_client */;
175175
/*!50503 SET character_set_client = utf8mb4 */;
176176
CREATE TABLE `locks` (
177-
`id` tinyint NOT NULL AUTO_INCREMENT COMMENT '''lock id''',
177+
`id` bigint NOT NULL COMMENT '''lock id''',
178178
`owner` varchar(64) DEFAULT NULL COMMENT '''lock owner''',
179-
`updated_at` timestamp DEFAULT NULL,
180-
`expired_at` timestamp DEFAULT NULL,
179+
`updated_at` timestamp(6) DEFAULT NULL,
180+
`expired_at` timestamp(6) DEFAULT NULL,
181181
PRIMARY KEY (`id`)
182182
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
183183
/*!40101 SET character_set_client = @saved_cs_client */;

0 commit comments

Comments
 (0)