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

improve docs about migration files #2566

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

jnnnnn
Copy link
Contributor

@jnnnnn jnnnnn commented Jun 27, 2023

fixes #1934

I've made this PR because I got quite confused trying to set up migrations for the first time. I managed to follow the link from the sqlx::migrate macro docs to https://docs.rs/sqlx/latest/sqlx/migrate/trait.MigrationSource.html but never noticed that there was documentation, as it is not expanded by default:

image

To make this more accessible I have moved the docs to the top level so that they are easier to find.

@abonander abonander merged commit afb6b10 into launchbadge:main Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

migration feature is not documented well enough
2 participants