This commit is contained in:
2026-10-16 19:49:48 +03:00
parent 65003b6119
commit c4ec287633
57 changed files with 4749 additions and 19 deletions
+22
View File
@@ -0,0 +1,22 @@
# Миграции с нуля и повторный запуск (песочница, PostgreSQL 16)
$ python -m app.migrate (запуск 1)
2026-10-15 09:56:03,651 migrate applied: 0001_core, 0002_sessions
$ python -m app.migrate (запуск 2)
2026-10-15 09:56:03,862 migrate applied: nothing to do (schema is up to date)
version | checksum
---------------+--------------
0001_core | 5cc38bccb02e
0002_sessions | 6ef657d22fa7
(2 rows)
List of relations
Schema | Name | Type | Owner
--------+-------------------+-------+-----------
public | chat_members | table | messenger
public | chats | table | messenger
public | messages | table | messenger
public | schema_migrations | table | messenger
public | sessions | table | messenger
public | users | table | messenger
(6 rows)