I have the microservice project:
https://github.com/Alex-Kalinin-jr/micro
There, in “pure_html” branch i have completed frame which works on localhost.
I launch the app with docker-compose (over makefile command “make up”)
Then i do a migration: make migratedb
Then i should launch: make filldb
For the sake of testing i download repo again and try to do these actions.
And sometimes the command “make migratedb” is launched well,
but sometimes it is launched with errors and migration file is not created.
Please, help.
but final traceback message:
FileNotFoundError: [Errno 2] No such file or directory: ‘/app/migrations/versions/7eaa2fdf3299_revision_number_this_is_the_test.py’
Some remarks:
i do that with clear alembic_version in postgres.
i do that with clear “versions” folder.
in container this tried to be made by “root” user.