forked from mtusi2026/mtusi2026lab5
19 lines
2.5 KiB
Plaintext
19 lines
2.5 KiB
Plaintext
./scripts/check_migrations.sh
|
|
2026-11-09 19:54:59.229 | INFO | infrastructure.dependencies.database:create_pool:69 - Установка соединения с базой данных psql
|
|
2026-11-09 19:54:59.305 | INFO | infrastructure.dependencies.database:create_pool:99 - Соединение с базой данных psql установлено. DB_NAME: test, pool: 2..10
|
|
пустой volume: таблиц в public = 0
|
|
API до migrate: В БД не применены миграции [1, 2, 3, 4, 5]: сначала запустите migrate
|
|
2026-11-09 19:54:59.333 | INFO | infrastructure.dependencies.database:apply_migrations:152 - Применена миграция 0001_init.sql
|
|
2026-11-09 19:54:59.336 | INFO | infrastructure.dependencies.database:apply_migrations:152 - Применена миграция 0002_message_idempotency.sql
|
|
2026-11-09 19:54:59.344 | INFO | infrastructure.dependencies.database:apply_migrations:152 - Применена миграция 0003_attachments.sql
|
|
2026-11-09 19:54:59.368 | INFO | infrastructure.dependencies.database:apply_migrations:152 - Применена миграция 0004_attachment_jobs.sql
|
|
2026-11-09 19:54:59.370 | INFO | infrastructure.dependencies.database:apply_migrations:152 - Применена миграция 0005_job_error_code.sql
|
|
2026-11-09 19:54:59.371 | INFO | infrastructure.dependencies.database:apply_migrations:157 - Схема БД в актуальной версии
|
|
запуск 1: schema_migrations = [(1, '0001_init'), (2, '0002_message_idempotency'), (3, '0003_attachments'), (4, '0004_attachment_jobs'), (5, '0005_job_error_code')], таблиц = 13
|
|
2026-11-09 19:54:59.373 | INFO | infrastructure.dependencies.database:apply_migrations:157 - Схема БД в актуальной версии
|
|
запуск 2: schema_migrations = [(1, '0001_init'), (2, '0002_message_idempotency'), (3, '0003_attachments'), (4, '0004_attachment_jobs'), (5, '0005_job_error_code')], таблиц = 13
|
|
2026-11-09 19:54:59.375 | INFO | infrastructure.dependencies.database:apply_migrations:157 - Схема БД в актуальной версии
|
|
запуск 3: schema_migrations = [(1, '0001_init'), (2, '0002_message_idempotency'), (3, '0003_attachments'), (4, '0004_attachment_jobs'), (5, '0005_job_error_code')], таблиц = 13
|
|
2026-11-09 19:54:59.376 | INFO | infrastructure.dependencies.database:check_migrations:179 - Схема БД совместима: версия 5
|
|
API после migrate: схема совместима
|