Stelle bestehende Quellzuordnungen wieder her und halte Connectoren beim eigenen Konto.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
d6b70d8f92
commit
c3a07cee64
8 files changed
+250
-9
No files matched your search
@@ -58,7 +58,11 @@ def _prepare_source_storage(settings: Settings) -> None:
|
||||
|
||||
from app.media.port import ensure_legacy_instance
|
||||
from app.sourcebind import backfill_source_bindings
|
||||
from app.sources import _install_sources
|
||||
|
||||
# The process that migrates has not imported the application yet.
|
||||
# Without the modules, a legacy reference would stay unresolved.
|
||||
_install_sources()
|
||||
with psycopg.connect(settings.dsn(), row_factory=dict_row) as conn:
|
||||
backfill_source_bindings(conn)
|
||||
ensure_legacy_instance(conn, settings.media_root)
|
||||
|
||||
Reference in new issue
Block a user