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

Migrate off of ElephantSQL to Supabase #34

Merged
merged 6 commits into from
Aug 5, 2024
Merged

Conversation

tomasohCHOM
Copy link
Contributor

Have not really tested it yet, main difference with this migration is that:

  1. Cannot really add new columns or create tables from scratch with supabase, so I removed the create and add_column methods
  2. Remove DB_URI env, adding SUPABASE_URL and SUPABASE_KEY instead

@boushrabettir
Copy link
Collaborator

@tomasohCHOM You can add columns and tables using SQL in the script. Do you want me to link you to documentation for it?

Supabase migration successful.
Added in custom error class for easy debugging.
@boushrabettir
Copy link
Collaborator

Testing complete, will merge on my own.
I know it's not recommended but I'll make my own rules 😛

@boushrabettir boushrabettir merged commit 5c846a5 into main Aug 5, 2024
2 checks passed
@boushrabettir boushrabettir deleted the supabase-migration branch August 5, 2024 08:58
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

Successfully merging this pull request may close these issues.

2 participants