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

Manage SQL schemas through migrations #154

Open
daniel-mader opened this issue Dec 10, 2024 · 0 comments
Open

Manage SQL schemas through migrations #154

daniel-mader opened this issue Dec 10, 2024 · 0 comments
Labels
Request Request a feature

Comments

@daniel-mader
Copy link
Contributor

Description

Having to set up the SQL database schemas by applying the init.sql script manually is becoming more of a pain point in multiple scenarios. We should use sqlx to manage the schema on application start, this also includes applying migrations automatically if necessary.

Motivation

Enhanced stability, better DX

Requirements

  1. transform init.sql into sqlx commands
  2. run sqlx commands on application start
  3. define SQL migrations strategy

Open Questions

No response

Are you planning to contribute this in a PR?

Yes

@daniel-mader daniel-mader added the Request Request a feature label Dec 10, 2024
@daniel-mader daniel-mader changed the title Manage SQL schema from within application Manage SQL schemas through migrations Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Request Request a feature
Projects
None yet
Development

No branches or pull requests

1 participant