What are the requirements to create the database in Flask Python?

What are the requirements to create the database in Flask Python?

To create a database in Flask (which is a database-powdered application) Python, we need to use a function, termed as “connect_db” in flaskr,py file.