This is an automated email from the ASF dual-hosted git repository.
peacewong pushed a commit to branch dev-1.3.2
in repository https://gitbox.apache.org/repos/asf/incubator-linkis.git
The following commit(s) were added to refs/heads/dev-1.3.2 by this push:
new d1a800c89 fix: ddl sql comment error (#4039)
d1a800c89 is described below
commit d1a800c8908e2b40100859c9d32a6055db8a8e5a
Author: Jack Xu <[email protected]>
AuthorDate: Wed Dec 21 20:46:25 2022 +0800
fix: ddl sql comment error (#4039)
---
linkis-dist/package/db/linkis_ddl.sql | 16 ++++++++--------
.../package/db/upgrade/1.3.2_schema/mysql/linkis_ddl.sql | 16 ++++++++--------
2 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/linkis-dist/package/db/linkis_ddl.sql
b/linkis-dist/package/db/linkis_ddl.sql
index 89e95820e..f94f7df06 100644
--- a/linkis-dist/package/db/linkis_ddl.sql
+++ b/linkis-dist/package/db/linkis_ddl.sql
@@ -16,15 +16,15 @@
*/
---Non-unique indexes are named according to "idx_fieldname[_fieldname]". For
example idx_age_name
---The unique index is named according to "uniq_field name[_field name]". For
example uniq_age_name
---It is recommended to include all field names for composite indexes, and the
long field names can be abbreviated. For example idx_age_name_add
---The index name should not exceed 50 characters, and the name should be
lowercase
+-- Non-unique indexes are named according to "idx_fieldname[_fieldname]". For
example idx_age_name
+-- The unique index is named according to "uniq_field name[_field name]". For
example uniq_age_name
+-- It is recommended to include all field names for composite indexes, and the
long field names can be abbreviated. For example idx_age_name_add
+-- The index name should not exceed 50 characters, and the name should be
lowercase
--
---非唯一索引按照“idx_字段名称[_字段名称]”进用行命名。例如idx_age_name
---唯一索引按照“uniq_字段名称[_字段名称]”进用行命名。例如uniq_age_name
---组合索引建议包含所有字段名,过长的字段名可以采用缩写形式。例如idx_age_name_add
---索引名尽量不超过50个字符,命名应该使用小写
+-- 非唯一索引按照“idx_字段名称[_字段名称]”进用行命名。例如idx_age_name
+-- 唯一索引按照“uniq_字段名称[_字段名称]”进用行命名。例如uniq_age_name
+-- 组合索引建议包含所有字段名,过长的字段名可以采用缩写形式。例如idx_age_name_add
+-- 索引名尽量不超过50个字符,命名应该使用小写
SET FOREIGN_KEY_CHECKS=0;
diff --git a/linkis-dist/package/db/upgrade/1.3.2_schema/mysql/linkis_ddl.sql
b/linkis-dist/package/db/upgrade/1.3.2_schema/mysql/linkis_ddl.sql
index a5a78b243..3a11d244d 100644
--- a/linkis-dist/package/db/upgrade/1.3.2_schema/mysql/linkis_ddl.sql
+++ b/linkis-dist/package/db/upgrade/1.3.2_schema/mysql/linkis_ddl.sql
@@ -49,15 +49,15 @@ CREATE TABLE `linkis_cg_user_ip_config` (
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
---Non-unique indexes are named according to "idx_fieldname[_fieldname]". For
example idx_age_name
---The unique index is named according to "uniq_field name[_field name]". For
example uniq_age_name
---It is recommended to include all field names for composite indexes, and the
long field names can be abbreviated. For example idx_age_name_add
---The index name should not exceed 50 characters, and the name should be
lowercase
+-- Non-unique indexes are named according to "idx_fieldname[_fieldname]". For
example idx_age_name
+-- The unique index is named according to "uniq_field name[_field name]". For
example uniq_age_name
+-- It is recommended to include all field names for composite indexes, and the
long field names can be abbreviated. For example idx_age_name_add
+-- The index name should not exceed 50 characters, and the name should be
lowercase
--
---非唯一索引按照“idx_字段名称[_字段名称]”进用行命名。例如idx_age_name
---唯一索引按照“uniq_字段名称[_字段名称]”进用行命名。例如uniq_age_name
---组合索引建议包含所有字段名,过长的字段名可以采用缩写形式。例如idx_age_name_add
---索引名尽量不超过50个字符,命名应该使用小写
+-- 非唯一索引按照“idx_字段名称[_字段名称]”进用行命名。例如idx_age_name
+-- 唯一索引按照“uniq_字段名称[_字段名称]”进用行命名。例如uniq_age_name
+-- 组合索引建议包含所有字段名,过长的字段名可以采用缩写形式。例如idx_age_name_add
+-- 索引名尽量不超过50个字符,命名应该使用小写
ALTER TABLE `linkis_ps_configuration_key_engine_relation`
DROP INDEX IF EXISTS `config_key_id`,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]