Project: datalens
81 entity types
Matrix//scripts/migrate_duckdb_to_postgresql.py
Entity

scripts/migrate_duckdb_to_postgresql.py

Migration script used for transferring existing data from DuckDB to PostgreSQL, run with specific project ID and path, completed during the migration process. Migration script reads existing Project 14 data from DuckDB in read-only mode to avoid conflicts during migration. Migration script writes migrated data into PostgreSQL via PgDataService. Migration script reads data from Project 14 DuckDB file with read-only access during migration.