Add support for database schema in PostgreSQL (#8819)
* Add support for database schema * Require setting search_path for the db user * Add schema setting to admin/config.tmpl * Use a schema different from default for psql tests * Update postgres scripts to use custom schema * Update to xorm/core 0.7.3 and xorm/xorm c37aff9b3a * Fix migration test Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
parent
6d6f1d568e
commit
ad1b6d439f
28 changed files with 177 additions and 407 deletions
|
@ -102,6 +102,8 @@ user = Username
|
|||
password = Password
|
||||
db_name = Database Name
|
||||
db_helper = Note to MySQL users: please use the InnoDB storage engine and if you use "utf8mb4", your InnoDB version must be greater than 5.6 .
|
||||
db_schema = Schema
|
||||
db_schema_helper = Leave blank for database default ("public").
|
||||
ssl_mode = SSL
|
||||
charset = Charset
|
||||
path = Path
|
||||
|
@ -1953,6 +1955,7 @@ config.db_type = Type
|
|||
config.db_host = Host
|
||||
config.db_name = Name
|
||||
config.db_user = Username
|
||||
config.db_schema = Schema
|
||||
config.db_ssl_mode = SSL
|
||||
config.db_path = Path
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue