Selecting tables and columns
You can select which tables and columns you sync at anytime in the Select tables section of your sync:
Selecting columns
If you want to edit the columns syncing on a given table, click the âď¸ Configure button to open the column mapping modal. By default weâll sync all the columns from the source. You can pick which columns sync from the source to your database by flipping the switch on the left:
Internal columns, such as
id
and _sync_updated_at
canât be disabled as these are required fields for your sync to function.Locking columns
You can lock column names to ensure that the column name in your database wonât change even if the name in the upstream source changes. This can help insulate your queries and code from name changes. To Lock or Unlock a column name, click on the đ Lock icon right next to the Database name. The button will turn into solid black indicating that the column is locked:

Renaming columns
Sometimes the default names from your source arenât ideal for your database or code base. For these situations, you can rename the database column. When you rename a database column, the column name will also lock to ensure the name isnât overwritten. To rename a column, click the âď¸ Edit icon right next to the Database name, then enter a valid name and save it.
In Postgres, valid names canât start with a number, have special characters or be a duplicate inside the table.
Sequin owns the tables
In Sequinâs workflow, Sequin owns the tables and columns. Here are some things to keep in mind when working with your Sequin tables:Donât modify tables or columns directly
Itâs important that you never modify your Sequin tables or columns directly. Any modifications to your Sequin tables or columns should happen via the Sequin console.Donât add constraints
Additionally, avoid adding any constraints to your tables. These include things like foreign keys, non-null constraints, or unique indexes. Constraints added outside of Sequin can break Sequinâs upsert and delete process, and break your sync.Do add indexes
Youâre encouraged to add indexes to your Sequin tables according to your appâs needs. Just make sure you donât add unique indexes (see the note about constraints below).Be careful about modifying or dropping API fields
For some sources, schema changes can originate from the API. For example, Airtable, HubSpot, and Salesforce all offer the ability to customize your data model. In Airtable, you can add and remove tables and modify the columns in those tables. In HubSpot and Salesforce, you can add, remove, and modify custom objects. Sequin polls the source API for schema changes. When we detect a schema change that impacts your sync, weâll automatically propagate that migration to your database. For example, if you drop a field from a custom object, weâll drop the corresponding column in your table.>We are exploring ways to give you more control over what Sequin does when a schema change originates from the API. Soon, youâll be able to manually approve each migration before it takes place.