mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-16 12:05:30 +09:00
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:
1 parent
6d6f1d568e
commit
ad1b6d439f
28 files changed
+177
-407
No files matched your search
@@ -7,6 +7,7 @@ HOST = {{TEST_PGSQL_HOST}}
|
||||
NAME = {{TEST_PGSQL_DBNAME}}
|
||||
USER = {{TEST_PGSQL_USERNAME}}
|
||||
PASSWD = {{TEST_PGSQL_PASSWORD}}
|
||||
SCHEMA = {{TEST_PGSQL_SCHEMA}}
|
||||
SSL_MODE = disable
|
||||
|
||||
[indexer]
|
||||
|
||||
Reference in new issue
Block a user