This is an automated email from the ASF dual-hosted git repository.
peacewong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/linkis.git
The following commit(s) were added to refs/heads/master by this push:
new c25393821 fix bug that linkis_cg_ec_resource_info_record.status
default value can't null (#4727)
c25393821 is described below
commit c2539382123312cb0944561cd4e01fbfd44a320a
Author: sjgllgh <[email protected]>
AuthorDate: Sat Jul 1 12:26:00 2023 +0800
fix bug that linkis_cg_ec_resource_info_record.status default value can't
null (#4727)
---
linkis-dist/bin/install.sh | 2 +-
linkis-dist/package/db/linkis_ddl_pg.sql | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/linkis-dist/bin/install.sh b/linkis-dist/bin/install.sh
index cd19810e8..9702e1e00 100644
--- a/linkis-dist/bin/install.sh
+++ b/linkis-dist/bin/install.sh
@@ -68,7 +68,7 @@ isSuccess "check env"
if [[ 'postgresql' = "$dbType" ]];then
until PGPASSWORD=$PG_PASSWORD psql -h $PG_HOST -p $PG_PORT -U $PG_USER -tc
";" ; do
- echo "try to connect to linkis mysql
$MYSQL_HOST:$MYSQL_PORT/$MYSQL_DB failed, please check db configuration
in:$LINKIS_DB_CONFIG_PATH"
+ echo "try to connect to linkis postgresql $PG_HOST:$PG_PORT/$PG_DB
failed, please check db configuration in:$LINKIS_DB_CONFIG_PATH"
exit 1
done
else
diff --git a/linkis-dist/package/db/linkis_ddl_pg.sql
b/linkis-dist/package/db/linkis_ddl_pg.sql
index 88a1ca275..8fb739c99 100644
--- a/linkis-dist/package/db/linkis_ddl_pg.sql
+++ b/linkis-dist/package/db/linkis_ddl_pg.sql
@@ -854,7 +854,7 @@ CREATE TABLE linkis_cg_ec_resource_info_record (
service_instance varchar(128) NULL,
ecm_instance varchar(128) NULL,
ticket_id varchar(100) NOT NULL,
- status varchar(50) NOT NULL,
+ status varchar(50) DEFAULT NULL,
log_dir_suffix varchar(128) NULL,
request_times int4 NULL,
request_resource varchar(1020) NULL,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]