https://linen.dev logo
#ask-community-for-troubleshooting
Title
# ask-community-for-troubleshooting
s

Srivallabh

11/17/2021, 9:47 AM
Hey guys, is there any way to create a destination database in postgres while setting up connectors?
h

Harshith (Airbyte)

11/17/2021, 10:53 AM
Hey Srivallabh is there some problem you are facing while creating a destination ?
s

Srivallabh

11/17/2021, 12:01 PM
Not exactly, but while creating a destination, when we specify the destination database, is there a mechanism which creates the named database and then syncs the source database there?
v

Vijay

11/17/2021, 2:52 PM
Hi @Srivallabh, the way I do it, is immediately after creating a connection (via API) I trigger the first sync (again via API). If you are asking for a step where we can force the schema creation, without downloading the data, yes I believe that would be useful.
s

Srivallabh

11/17/2021, 2:54 PM
If we could just give the database name, and airbyte would check whether the database of the given name exists at the destination, if yes, then directly syncs data, else creates a new database with the given name,
s

s

11/17/2021, 7:50 PM
I don’t think we have this functionality, could you create an issue for it?
s

Srivallabh

11/18/2021, 7:46 AM
Sure, could you please share the template with me
h

Harshith (Airbyte)

11/18/2021, 8:19 AM
s

Srivallabh

11/18/2021, 8:28 AM
Got it thanks!
3 Views