Alembic:
alembic revision --autogenerate -m "init"
相当于 Django 中:
python manage.py makemigrations
Alembic:
alembic upgrade head
相当于 Django 中:
python manage.py migrate
Welcome to Alembic’s documentation! — Alembic 1.0.1 documentation
Alembic:
alembic revision --autogenerate -m "init"
相当于 Django 中:
python manage.py makemigrations
Alembic:
alembic upgrade head
相当于 Django 中:
python manage.py migrate
Welcome to Alembic’s documentation! — Alembic 1.0.1 documentation