Does the python flask command line create a migration script that does not respond?

recently in the book Flask Web Development, enter the command python hello.py db migrate-m "initial migration" when creating a migration script in a chapter 5 database. The command line neither reports an error nor shows anything

clipboard.png

Aug.28,2021

communicate together, lie down to Chapter 7.


Hello, you need to create a migration repository before creating a migration script. Execute the following command

python hello.py db init

then create a migration script:

python hello.py db migrate -m "initial migration"
  • How can Flask be easily deployed in Windows?

    has a LAN HTTP function with low concurrency requirements. Less than 10 concurrency per second, the database is also sqlite,. I have tested that the concurrency of the run that comes with flask can reach more than 100. but the official hint is that it is...

    Jun.04,2021
Menu