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

Migration path? #14

Closed
themouette opened this issue Dec 18, 2023 · 5 comments
Closed

Migration path? #14

themouette opened this issue Dec 18, 2023 · 5 comments
Labels
question Further information is requested

Comments

@themouette
Copy link

I'd love to use this package in my supabase application, but since several issues mention improvements (invite system for instance), I'm wondering if there will be a migration path.

If not, what would be the strategy for me to adopt?

@point-source
Copy link
Owner

Yes. Now that this is packaged as a TLE, additional improvements are easy to migrate to simply by upgrading the TLE.

Especially things like the invite system as that is purely a function and table add and does not modify the existing functionality or structure.

@themouette
Copy link
Author

Thanks for your answer.
Let's imagine I have the v0.0.1 installed, how can I upgrade to v0.0.2 without deleting the data?

I'm a bit confused since it looks like it recreates everything from scratch.

@point-source
Copy link
Owner

I actually have the very same question myself and am hoping to hear back from the creators.

That said, the only reason I release a 0.0.2 is because I needed to update the readme. So there are no changes. In the future, depending on the answer I get in the other issue, I will consider upgrade paths as I release new versions. I definitely understand that being able to upgrade without data loss is a requirement.

@imor
Copy link

imor commented Jan 17, 2024

We are still working on the docs but there should be a lot of answered question in the discussion in supabase/dbdev#164

@point-source
Copy link
Owner

Thanks @imor. I'm going to close this now that there is documentation in the other issue and since I now have a concrete plan to support upgrades without data loss once pg_tle is updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants