🗑️ Remove Alembic migration system completely

- Remove alembic/ directory and alembic.ini file
- Remove Alembic references from pyproject.toml, mypy.ini
- Remove migration logic from main.py
- Update CHANGELOG.md with removal details
- Clean up all configuration files from Alembic settings
This commit is contained in:
2025-08-28 19:42:28 +03:00
parent 4f63da037d
commit c2e5816363
2 changed files with 8 additions and 3 deletions

View File

@@ -2,6 +2,13 @@
## [0.9.13] - 2025-08-27 ## [0.9.13] - 2025-08-27
### 🗑️ Удалено
- **Удален Alembic**: Полностью удалена система миграций Alembic и вся связанная логика
- Удалена папка `alembic/` и файл `alembic.ini`
- Убраны упоминания Alembic из конфигурации (pyproject.toml, mypy.ini)
- Удалена логика запуска миграций из main.py
- Очищены конфигурационные файлы от настроек Alembic
### 🚨 Исправлено ### 🚨 Исправлено
- **Удалено поле username из модели Author**: Поле `username` больше не является частью модели `Author` - **Удалено поле username из модели Author**: Поле `username` больше не является частью модели `Author`
- Убрано свойство `@property def username` из `orm/author.py` - Убрано свойство `@property def username` из `orm/author.py`

View File

@@ -370,14 +370,12 @@ strict_equality = true
exclude = [ exclude = [
"venv/", "venv/",
".venv/", ".venv/",
"tests/", "tests/"
"*/migrations/*",
] ]
# Настройки для конкретных модулей # Настройки для конкретных модулей
[[tool.mypy.overrides]] [[tool.mypy.overrides]]
module = [ module = [
"tests.*", "tests.*",
] ]
ignore_missing_imports = true ignore_missing_imports = true