I have a Flask app that interacts with a SQLite3 database. I wrote a Python script that sets up the tables, columns, etc. in the database automatically. I uploaded this file to my app folder (/home/Ridecloud/mysite/ridelog_db_setup.py), and it automatically created the database in my app's root folder (/home/Ridecloud/ridelog_db.db).
Is there a way to just point SQL Alchemy to this file? If not, how can I tell PythonAnywhere to create a database as specified in my database setup file?