mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-10-02 11:50:46 +08:00
Update env.py
This commit is contained in:
1 parent
6f319651c1
commit
4012f7da05
1 file changed
-2
@@ -55,9 +55,7 @@ def run_migrations_online() -> None:
|
||||
connection.execute("LOCK TABLE alembic_version IN ACCESS EXCLUSIVE MODE")
|
||||
context.run_migrations()
|
||||
|
||||
|
||||
if context.is_offline_mode():
|
||||
run_migrations_offline()
|
||||
else:
|
||||
run_migrations_online()
|
||||
|
||||
Reference in new issue
Block a user