how to make a database for multiple flask applications?
I’m working on my management project which its structure is as follow:
How can I make a database for multiple flask application?
the following is my project structure. I want to make a database ,with mySQL and SQLAlchemy module, that all off these three apps use this database!
How add a new user to my databse using SQLAlchemy when the userid field is autogenerated by the database using a trigger?
This is my user model :