Skip to content

[Feature Request] Use existing Project to deploy #155

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

Open
Siddhesh-Agarwal opened this issue Jan 21, 2025 · 2 comments
Open

[Feature Request] Use existing Project to deploy #155

Siddhesh-Agarwal opened this issue Jan 21, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@Siddhesh-Agarwal
Copy link

Feature request

Is your feature request related to a problem? Please describe.

The ability to connect existing projects (while deploying) instead of creating new projects

Describe the solution you'd like

While deploying via Supabase, we should be able to create a new project or use an existing project

Additional context

Image

@Siddhesh-Agarwal Siddhesh-Agarwal added the enhancement New feature or request label Jan 21, 2025
@Siddhesh-Agarwal Siddhesh-Agarwal changed the title Use existing Project to deploy [Feature Request] Use existing Project to deploy Jan 21, 2025
@gregnr
Copy link
Collaborator

gregnr commented Jan 21, 2025

Hey @Siddhesh-Agarwal thanks for the request. Using existing projects can be tricky because of potential conflicts between your database.build migrations and existing schema. One way to deal with this could be to have database.build first import the schema from your existing Supabase project prior to beginning the conversation.

Any other ideas? Let's keep brainstorming how this could work.

@Siddhesh-Agarwal
Copy link
Author

Hey @gregnr, I guess this can work with a simple check: check whether any table exists in the project's DB. A Supbase Project has various aspects, such as auth and storage. If the DB contains no table, we should be able to connect to an existing project

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

2 participants