Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- FastAPI
- nodejs
- nestjs
- 스레드풀
- K8S
- CPU스케쥴링
- golang
- 쿠버네티스
- 회고
- 가비지컬렉션
- uvicorn
- Alembic
- 스케줄링
- 로드밸런서
- 글또
- 쿠베네티스
- EKS
- alb
- 백엔드 개발자
- 싱글톤 디자인 패턴
- 캐시서버
- 분산처리
- SQLAlchemy
- Django
- Python
- gunicorn
- 메모리구조
- 2022년
- AWS
- 멀티스레드
Archives
- Today
- Total
목록Alembic (1)
서버에서 살아남기

언어 : Python 프레임워크 : FastAPI ORM : SQLAlchemy 마이그레이션 툴 : alembic alembic documentaion : https://alembic.sqlalchemy.org/en/latest/index.html 1. SQLAlchemy SQLAlchemy 의 경우 migration 기능을 포함하지 않으며, Alembic 이라는 별도 패키지를 함께 사용해야합니다. 2. Alembic transsactional DDL 을 지원합니다. 그래서 Database Scema가 생성되기 전에는 Database 변경이 일어나지 않습니다. 마이그레이션 명령어를 입력하면 upgrade & downgrade function과 함께 script 파일이 생성됩니다. 해당 파일에는 revis..
python
2023. 7. 22. 13:29