This is an automated email from the ASF dual-hosted git repository.
jianglongtao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 7395a8ea026 Remove assisted column in logic DDL for encrypt example
e2e (#37842)
7395a8ea026 is described below
commit 7395a8ea026a9dce77a37b3f6ab91aa52c0f66f8
Author: Raigor <[email protected]>
AuthorDate: Mon Jan 26 00:40:00 2026 +0800
Remove assisted column in logic DDL for encrypt example e2e (#37842)
---
.../src/main/resources/template/resources/mappers/OrderMapper.ftl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/resources/mappers/OrderMapper.ftl
b/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/resources/mappers/OrderMapper.ftl
index ab2a907a194..7ceaddab52c 100644
---
a/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/resources/mappers/OrderMapper.ftl
+++
b/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/resources/mappers/OrderMapper.ftl
@@ -28,7 +28,7 @@
</resultMap>
<update id="createTableIfNotExists">
- CREATE TABLE IF NOT EXISTS t_order (order_id BIGINT AUTO_INCREMENT,
order_type INT(11), user_id INT NOT NULL, address_id BIGINT NOT NULL, status
VARCHAR(50)<#if feature?contains("encrypt")>, status_assisted
VARCHAR(50)</#if>, PRIMARY KEY (order_id));
+ CREATE TABLE IF NOT EXISTS t_order (order_id BIGINT AUTO_INCREMENT,
order_type INT(11), user_id INT NOT NULL, address_id BIGINT NOT NULL, status
VARCHAR(50), PRIMARY KEY (order_id));
</update>
<update id="truncateTable">
@@ -41,7 +41,7 @@
<#if feature?contains("shadow")>
<update id="createTableIfNotExistsShadow">
- CREATE TABLE IF NOT EXISTS t_order (order_id BIGINT AUTO_INCREMENT,
order_type INT(11), user_id INT NOT NULL, address_id BIGINT NOT NULL, status
VARCHAR(50)<#if feature?contains("encrypt")>, status_assisted
VARCHAR(50)</#if>, PRIMARY KEY (order_id)); /*
SHARDINGSPHERE_HINT:shadow=true,foo=bar*/
+ CREATE TABLE IF NOT EXISTS t_order (order_id BIGINT AUTO_INCREMENT,
order_type INT(11), user_id INT NOT NULL, address_id BIGINT NOT NULL, status
VARCHAR(50), PRIMARY KEY (order_id)); /*
SHARDINGSPHERE_HINT:shadow=true,foo=bar*/
</update>
<update id="truncateTableShadow">