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

Automatic migrations from a schema file(magic) #120

Open
emilpriver opened this issue Jun 17, 2024 · 0 comments
Open

Automatic migrations from a schema file(magic) #120

emilpriver opened this issue Jun 17, 2024 · 0 comments
Assignees

Comments

@emilpriver
Copy link
Owner

Something discussed on X(https://x.com/jokull/status/1802610558287421774) was to add something like schema.geni where the user can describe a schema just as you can do with prisma, drizzle and so on and then allow Geni to generate migrations from that schema file.

However, I still want the transaparency and allow the user to write their own migrations and migrate. With transparency do I mean that the migrations files should be created as usual. Maybe this will be a 2 step kind of thing which means that the user needs to run "generate-migrations" and "up" or if we have some command doing this 2 steps

@emilpriver emilpriver self-assigned this Jun 17, 2024
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

No branches or pull requests

1 participant