Skip to content

The Unified and Autonomous Development Platform

chore: Remove postgresql schema from connection string for brevity

Robin Shendfaf2d99ae7e
diff --git a/server-product/system/conf/hibernate.properties b/server-product/system/conf/hibernate.properties
index 633e20228e..71b3dba2d3 100644
--- a/server-product/system/conf/hibernate.properties
+++ b/server-product/system/conf/hibernate.properties
@@ -47,8 +47,7 @@ hibernate.connection.password=
#----------------------------------------------------------------------------------
# To use PostgreSQL database, please follow below steps:
# 1. Uncomment PostgreSQL settings below and comment out settings for other databases
-# 2. Create an empty OneDev database at PostgreSQL side, and create a schema to be
-# used by OneDev
+# 2. Create an empty OneDev database at PostgreSQL side
# 3. Change the property "hibernate.connection.url", "hibernate.connection.username",
# and "hibernate.connection.password" so that OneDev can connect and write to
# database schema created in step 2
@@ -56,7 +55,7 @@ hibernate.connection.password=
#hibernate.dialect=io.onedev.server.persistence.PostgreSQLDialect
#hibernate.connection.driver_class=org.postgresql.Driver
-#hibernate.connection.url=jdbc:postgresql://localhost:5432/onedev?currentSchema=onedev
+#hibernate.connection.url=jdbc:postgresql://localhost:5432/onedev
#hibernate.connection.username=postgres
#hibernate.connection.password=postgres