@long2ice this is far from complete, but I wanted to share with you the approach I was thinking.
I'm no expert in either Tortoise or Aerich, so please bear with me.
This is the sample program I'm using to call the init_db from inside the application. The application takes care of setting up the DB connection, and providing it to Aerich. In the CLI case, the CLI is in charge of doing that.
Related to #141
@long2ice this is far from complete, but I wanted to share with you the approach I was thinking.
I'm no expert in either Tortoise or Aerich, so please bear with me.
This is the sample program I'm using to call the init_db from inside the application. The application takes care of setting up the DB connection, and providing it to Aerich. In the CLI case, the CLI is in charge of doing that.