W
W
weranda2021-09-12 09:06:43
Python
weranda, 2021-09-12 09:06:43

How to generate migrations with alembic?

Greetings.

Can't create migrations with alembic. It seems that I am doing according to the standard instructions, but empty migration files are created when the command is run alembic revision -m 'FIRST'.

What needs to be done to make it work?
The files can be found here: https://www.anyfiddle.com/p/secret_man/1ixkykja

It seems that everything is simple. I must have missed something somewhere.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stefan, 2021-09-12
@weranda

alembic revision -m 'FIRST' --autogenerate

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question