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

Supabase GH Action should reset DB when detecting migration changes #12

Open
iamhectorsosa opened this issue Mar 23, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@iamhectorsosa
Copy link
Collaborator

Since this is a demo project, whenever we have migration changes. The DB should fully reset.

I'm not sure if there are direct commands for this, but maybe we would have to execute some SQL to achieve this.

@iamhectorsosa iamhectorsosa added the enhancement New feature or request label Mar 23, 2024
@iamhectorsosa
Copy link
Collaborator Author

Added a command to the workflow to reset on pushes to main. However, the detection of schema changes doesn't seem to be possible.

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