refactor: remove Alembic migrations and Discord integration

This commit is contained in:
2026-07-15 15:55:25 +05:00
parent e8cff0f7ed
commit ec5ae395f3
24 changed files with 559 additions and 1718 deletions
+1 -20
View File
@@ -27,31 +27,12 @@ YOOMONEY_CLIENT_ID=
Конфигурация читается только из `.env` или переменных окружения.
5. Примени миграции:
```bash
python3 migrate.py up
```
6. Запусти бота:
5. Запусти бота:
```bash
python3 main.py
```
## Миграции
Основные команды:
```bash
python3 migrate.py status
python3 migrate.py up
python3 migrate.py down
python3 migrate.py auto "change description"
```
Схема БД теперь живет в `migrations/`, модели — в `tgbot/database/db_*.py`.
## Docker
```bash