I'm not understanding what you are actually doing. It is an error to
run "alembic upgrade" without a target:
$ alembic upgrade
usage: alembic upgrade [-h] [--sql] [--tag TAG] revision
alembic upgrade: error: too few arguments
When you specify a target, say "head", it updates the version table:
$ .venv/bin/alembic upgrade head
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
INFO [alembic.runtime.migration] Running upgrade -> e12f6fb70dcc, rev 1
and then the next time, it will do nothing:
$ .venv/bin/alembic upgrade head
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
so it appears like you have some entirely customized setup going on,
which itself would be where your issue lies.
>
> Best,
>
> --
> Bertrand
>
> --
> You received this message because you are subscribed to the Google
> Groups "sqlalchemy-alembic" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
sqlalchemy-alem...@googlegroups.com
> <mailto:
sqlalchemy-alem...@googlegroups.com>.
> For more options, visit
https://groups.google.com/d/optout.