Adding Alembic migrations for production and cleanup

This commit is contained in:
2026-03-03 17:12:28 +02:00
parent ba02095f32
commit 826e5403b2
14 changed files with 268 additions and 72 deletions
+6
View File
@@ -24,4 +24,10 @@ http://127.0.0.1:8000/shorten
PYTHONPATH=./ pytest
export PYTHONPATH=$(pwd)
python -m pytest --cov=app --cov-report=term-missing
```
## Running Alembic revision
```bash
cd /opt/kjc/int/URL-shortener
alembic revision --autogenerate -m "create urls table"
```