diff --git a/backend/src/main/resources/application.yml b/backend/src/main/resources/application.yml index 95fe80c..e432cd3 100644 --- a/backend/src/main/resources/application.yml +++ b/backend/src/main/resources/application.yml @@ -3,7 +3,7 @@ spring: application: name: RapidDataChat-backend datasource: - url: jdbc:postgresql://pgvector:5432/RapidDataChat_db + url: jdbc:postgresql://pgvector:5432/rapiddatachat_db username: root password: root driver-class-name: org.postgresql.Driver diff --git a/base/initPostgreSQL.sql b/base/initPostgreSQL.sql index a994d53..bf650ff 100644 --- a/base/initPostgreSQL.sql +++ b/base/initPostgreSQL.sql @@ -1,6 +1,6 @@ -- 创建数据库 -CREATE DATABASE RapidDataChat_db; -\c RapidDataChat_db; +CREATE DATABASE rapiddatachat_db; +\c rapiddatachat_db; -- 数据库信息表,存储不同数据库的连接信息。 CREATE TABLE IF NOT EXISTS database_info