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 or Ecto migrations #48

Open
kantum opened this issue Nov 3, 2024 · 0 comments
Open

Supabase or Ecto migrations #48

kantum opened this issue Nov 3, 2024 · 0 comments

Comments

@kantum
Copy link

kantum commented Nov 3, 2024

Hi,

Just discovered this project and I love Elixir and Supabase, I appreciate the effort made to make them work together.

What is the chosen strategy concerning migrations?

There are multiple ways to set up the interaction between those two, and it can be hard to know if what I have in mind is actually what this library is intended for. Some questions that come to mind:

If I manage migrations with Supabase, would Ecto be able to keep up/generate updated schema?
If I manage migrations with Ecto, should I generate RLS policies?
Would my ecto queries use the authenticated or the postgres user?
...

Can you make it clear what is the proposed/preferred way?

Thanks

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