Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A *working* alembic example in the docs #1400

Open
dekoza opened this issue Oct 21, 2024 · 0 comments
Open

A *working* alembic example in the docs #1400

dekoza opened this issue Oct 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dekoza
Copy link
Contributor

dekoza commented Oct 21, 2024

The docs regarding alembic integration are too laconic to be considered useful for beginners. They look more like reminders for folks that have at least 5 years of alembic experience under their belt.

I wish the examples provided there would have all imports in place. E.g. where I should take metadata from? How does that my_models file looks like if I have the metadata exposed there?

If I have several apps with models in them - what then? What should I prepare to feed the alembic config?

There are some tutorials in the wild but they use old ormar (pre 0.20). They can be ported with a little work but I think such examples should be a part of the official docs.

@dekoza dekoza added the enhancement New feature or request label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant