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

Automate schema migrations #392

Open
cristianoventura opened this issue Dec 27, 2024 · 0 comments
Open

Automate schema migrations #392

cristianoventura opened this issue Dec 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@cristianoventura
Copy link
Collaborator

Currently, creating migrations for settings and generators requires a manual process where we copy the directory of the latest version and then implement the necessary changes from there.

We'd like to automate the creation of migrations for settings and generators through a script, which would:

  • Identify the latest version directory.
  • Automatically copy the relevant files or templates needed for migration.
  • Set the latest version in the migrate function that lives in schemas/settings/index.ts and schemas/generators/index.ts
@cristianoventura cristianoventura added the enhancement New feature or request label Dec 27, 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