mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-06-30 16:40:05 +08:00
Merge branch 'main' of github.com:LAION-AI/Open-Chat-GPT
This commit is contained in:
+2
-2
@@ -1,8 +1,8 @@
|
||||
# Open-Chat-GPT REST Backend
|
||||
|
||||
## Almbeic database init
|
||||
## Alembic database init
|
||||
|
||||
Please edit `alembic.ini` and specify your database uri in the parameter `sqlalchemy.url`.
|
||||
Please edit `alembic.ini` and specify your database URI in the parameter `sqlalchemy.url = postgresql://<username>:<password>@<host>/<database_name>`.
|
||||
|
||||
## REST Server Configuration
|
||||
|
||||
|
||||
+3
-3
@@ -2,7 +2,7 @@
|
||||
|
||||
[alembic]
|
||||
# path to migration scripts
|
||||
script_location = alemic
|
||||
script_location = alembic
|
||||
|
||||
# template used to generate migration file names; The default value is %%(rev)s_%%(slug)s
|
||||
# Uncomment the line below if you want the files to be prepended with date and time
|
||||
@@ -36,10 +36,10 @@ prepend_sys_path = .
|
||||
# sourceless = false
|
||||
|
||||
# version location specification; This defaults
|
||||
# to alemic/versions. When using multiple version
|
||||
# to alembic/versions. When using multiple version
|
||||
# directories, initial revisions must be specified with --version-path.
|
||||
# The path separator used here should be the separator specified by "version_path_separator" below.
|
||||
# version_locations = %(here)s/bar:%(here)s/bat:alemic/versions
|
||||
# version_locations = %(here)s/bar:%(here)s/bat:alembic/versions
|
||||
|
||||
# version path separator; As mentioned above, this is the character used to split
|
||||
# version_locations. The default within new alembic.ini files is "os", which uses os.pathsep.
|
||||
|
||||
Reference in New Issue
Block a user