ЛР 4: приватное S3-хранилище и вложения сообщений

This commit is contained in:
2026-11-12 16:06:09 +03:00
parent ec540a1a72
commit 03cd380fb8
26 changed files with 1028 additions and 74 deletions
+5
View File
@@ -0,0 +1,5 @@
import os
import psycopg
with psycopg.connect(os.environ['DATABASE_URL']) as db:
db.execute(open('migrations/001_init.sql').read())
print('Migration complete')