[INIT-001] Initial project setup with Clean Architecture (feat)
Some checks failed
CD - Build & Deploy / build-and-push (push) Has been cancelled
CD - Build & Deploy / package-helm (push) Has been cancelled
CD - Build & Deploy / deploy-staging (push) Has been cancelled
CD - Build & Deploy / deploy-production (push) Has been cancelled
CD - Build & Deploy / release (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
CI / security (push) Has been cancelled
Some checks failed
CD - Build & Deploy / build-and-push (push) Has been cancelled
CD - Build & Deploy / package-helm (push) Has been cancelled
CD - Build & Deploy / deploy-staging (push) Has been cancelled
CD - Build & Deploy / deploy-production (push) Has been cancelled
CD - Build & Deploy / release (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
CI / security (push) Has been cancelled
- Implemented Clean Architecture with Domain, Application, Infrastructure, Presentation layers - Added comprehensive project structure following SOLID principles - Created Kubernetes deployment with Helm charts (HPA, PDB, NetworkPolicy) - Configured ArgoCD for automated deployment (production + staging) - Implemented CI/CD pipeline with GitHub Actions - Added comprehensive documentation (handbook, architecture, coding standards) - Configured PostgreSQL, Redis, Celery for backend services - Created modern landing page with Persian fonts (Vazirmatn) - Added Docker multi-stage build for production - Configured development tools (pytest, black, flake8, mypy, isort) - Added pre-commit hooks for code quality - Implemented Makefile for common operations
This commit is contained in:
65
docs/changelog/migrations.md
Normal file
65
docs/changelog/migrations.md
Normal file
@@ -0,0 +1,65 @@
|
||||
# Database Migrations History
|
||||
|
||||
این فایل تاریخچه تمام migration های دیتابیس را نگه میدارد.
|
||||
|
||||
## Format
|
||||
|
||||
هر migration باید شامل موارد زیر باشد:
|
||||
- تاریخ
|
||||
- نام فایل migration
|
||||
- توضیحات کامل
|
||||
- جداول/ستونهای تغییر یافته
|
||||
- وابستگیها
|
||||
- دستور rollback
|
||||
|
||||
---
|
||||
|
||||
## Migrations
|
||||
|
||||
### 2025-01-24: Initial Setup
|
||||
|
||||
**Migration**: `pending`
|
||||
**Description**: آمادهسازی اولیه - هنوز migration اجرا نشده
|
||||
**Status**: Pending
|
||||
**Tables**: None yet
|
||||
**Dependencies**: None
|
||||
**Rollback**: N/A
|
||||
|
||||
**Note**: اولین migration در فاز بعدی (phase0-database) ایجاد خواهد شد.
|
||||
|
||||
---
|
||||
|
||||
## Template برای Migration های آینده
|
||||
|
||||
```markdown
|
||||
## YYYY-MM-DD: Title
|
||||
|
||||
**Migration**: `XXX_description.py`
|
||||
**Description**: توضیحات کامل تغییرات
|
||||
**Status**: Applied / Pending / Rolled Back
|
||||
**Tables**:
|
||||
- table_name_1
|
||||
- table_name_2
|
||||
|
||||
**Changes**:
|
||||
- Added column `column_name` to `table_name`
|
||||
- Created table `new_table`
|
||||
- Added index on `column_name`
|
||||
|
||||
**Dependencies**:
|
||||
- Previous migration: XXX
|
||||
|
||||
**SQL Summary**:
|
||||
```sql
|
||||
ALTER TABLE users ADD COLUMN two_factor_enabled BOOLEAN DEFAULT FALSE;
|
||||
```
|
||||
|
||||
**Rollback**:
|
||||
```bash
|
||||
alembic downgrade -1
|
||||
```
|
||||
|
||||
**Tested**: Yes/No
|
||||
**Production Deploy Date**: YYYY-MM-DD
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user