# HubDB

Stacksync supports both syncing existing HubDB tables and generating new HubDB tables. Choose whether to sync the Published or Draft versions.&#x20;

{% hint style="info" %}
Syncing published HubDB tables will cause draft changes to be published.
{% endhint %}

If you're syncing an existing HubDB table, you can choose the version when linking tables.&#x20;

<figure><img src="https://2867423571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfJjIdV9cuW6K8asJjTPJ%2Fuploads%2Fa1aFMTL00waTRTVObK9A%2FScreenshot%202024-10-10%20121800.png?alt=media&#x26;token=971bb59b-af03-4ab4-be32-b6bc84022f49" alt=""><figcaption></figcaption></figure>

If you're generating a new table in HubDB, choose the version when mapping fields.

<figure><img src="https://2867423571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfJjIdV9cuW6K8asJjTPJ%2Fuploads%2FLVuJ66Td56okzmmW6UG6%2FScreenshot%202024-10-10%20122003%20(1).png?alt=media&#x26;token=c2cf0adf-ab90-4352-95b0-6ed7136bc48b" alt=""><figcaption></figcaption></figure>
