需要在執行cmd之後先執行python進入Python Shell from xxx import db db.create_all(). 但是在 flask-script 中可以先設置好相關指令,再透過簡單的命令列來做操作。
確定! 回上一頁