Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
633607a5
"vscode:/vscode.git/clone" did not exist on "848c47db6a73d2c97e9e174f7cef3ecb4f87bb64"
Commit
633607a5
authored
May 26, 2024
by
Timothy J. Baek
Browse files
fix
parent
1fce4662
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
backend/apps/webui/internal/db.py
backend/apps/webui/internal/db.py
+3
-1
No files found.
backend/apps/webui/internal/db.py
View file @
633607a5
...
...
@@ -31,7 +31,9 @@ else:
DB
=
connect
(
DATABASE_URL
)
log
.
info
(
f
"Connected to a
{
DB
.
__class__
.
__name__
}
database."
)
router
=
Router
(
DB
,
migrate_dir
=
BACKEND_DIR
/
"apps"
/
"web"
/
"internal"
/
"migrations"
,
logger
=
log
DB
,
migrate_dir
=
BACKEND_DIR
/
"apps"
/
"webui"
/
"internal"
/
"migrations"
,
logger
=
log
,
)
router
.
run
()
DB
.
connect
(
reuse_if_open
=
True
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment