Separate SQLAlchemy models by file in Flask [duplicate] April 25, 2023 by Tarik This answer was extremely helpful: https://stackoverflow.com/a/9695045/353878. I needed to not initialize the db right away.