@damien for reasonsβ„’ I have to use python/flask. But since I'm planning the next app to use django anyway, I am grateful for the link. Thank you! :)
@codeschubse @damien You can also use Alchemy ORM or similar in Flask. Flask is very flexible in this regard, but the disadvantage is that you as a developer have to make more decisions yourself.

@codeschubse @damien This might be a good introduction (start) to Flask, SQLAlchemy, and database migrations (Flask Migrate Extension)

This is similar to your Laravel workflow.

https://www.digitalocean.com/community/tutorials/how-to-perform-flask-sqlalchemy-migrations-using-flask-migrate

How to Perform Flask-SQLAlchemy Migrations Using Flask-Migrate | DigitalOcean

Technical tutorials, Q&A, events β€” This is an inclusive place where developers can find or lend support and discover new ways to contribute to the community.

@leobm This seems to be the exact thing I'm looking for and also the reason why I love the fediverse. Thank you! :)

@damien

@codeschubse The classical ORM combination with Flask is SQLAlchemy. For Migrations there is the Alembic package.

I never got the Hang of SQLAlchemy tough, so I am happy I exclusively use Django when I need an ORM.

I could imagine running Flask as a web framework to manage URL routing and such while still using the django ORM by just importing the models into your Flask app.

Would be kind of a Frankenstein project to install django just for the ORM.