forked from mtusi2026/mtusi2026lab6
20 lines
2.8 KiB
Plaintext
20 lines
2.8 KiB
Plaintext
./scripts/check_migrations.sh
|
|
2026-11-23 16:54:45.450 | INFO | infrastructure.dependencies.database:create_pool:71 - Установка соединения с базой данных psql
|
|
2026-11-23 16:54:45.523 | INFO | infrastructure.dependencies.database:create_pool:101 - Соединение с базой данных psql установлено. DB_NAME: test, pool: 2..10
|
|
пустой volume: таблиц в public = 0
|
|
API до migrate: В БД не применены миграции [1, 2, 3, 4, 5, 6]: сначала запустите migrate
|
|
2026-11-23 16:54:45.540 | INFO | infrastructure.dependencies.database:apply_migrations:154 - Применена миграция 0001_init.sql
|
|
2026-11-23 16:54:45.541 | INFO | infrastructure.dependencies.database:apply_migrations:154 - Применена миграция 0002_message_idempotency.sql
|
|
2026-11-23 16:54:45.546 | INFO | infrastructure.dependencies.database:apply_migrations:154 - Применена миграция 0003_attachments.sql
|
|
2026-11-23 16:54:45.553 | INFO | infrastructure.dependencies.database:apply_migrations:154 - Применена миграция 0004_attachment_jobs.sql
|
|
2026-11-23 16:54:45.554 | INFO | infrastructure.dependencies.database:apply_migrations:154 - Применена миграция 0005_job_error_code.sql
|
|
2026-11-23 16:54:45.554 | INFO | infrastructure.dependencies.database:apply_migrations:154 - Применена миграция 0006_job_trace_context.sql
|
|
2026-11-23 16:54:45.555 | INFO | infrastructure.dependencies.database:apply_migrations:159 - Схема БД в актуальной версии
|
|
запуск 1: schema_migrations = [(1, '0001_init'), (2, '0002_message_idempotency'), (3, '0003_attachments'), (4, '0004_attachment_jobs'), (5, '0005_job_error_code'), (6, '0006_job_trace_context')], таблиц = 13
|
|
2026-11-23 16:54:45.556 | INFO | infrastructure.dependencies.database:apply_migrations:159 - Схема БД в актуальной версии
|
|
запуск 2: schema_migrations = [(1, '0001_init'), (2, '0002_message_idempotency'), (3, '0003_attachments'), (4, '0004_attachment_jobs'), (5, '0005_job_error_code'), (6, '0006_job_trace_context')], таблиц = 13
|
|
2026-11-23 16:54:45.556 | INFO | infrastructure.dependencies.database:apply_migrations:159 - Схема БД в актуальной версии
|
|
запуск 3: schema_migrations = [(1, '0001_init'), (2, '0002_message_idempotency'), (3, '0003_attachments'), (4, '0004_attachment_jobs'), (5, '0005_job_error_code'), (6, '0006_job_trace_context')], таблиц = 13
|
|
2026-11-23 16:54:45.557 | INFO | infrastructure.dependencies.database:check_migrations:181 - Схема БД совместима: версия 6
|
|
API после migrate: схема совместима
|