Auto-incremented columns
The DB Sync database schema editor allows you to define properties of auto increment columns:

To apply auto incrementation to a primary key column of the current selected table:
-
In the list on the left, select the SQL table to apply the edits to.
-
Go to the Auto Increment panel.
-
Enter a Name for the auto increment specification.
-
Specify the name of the auto incremented column in the Column field.
-
Select the type of auto-increment from the Kind options:
- serial: Defines an Informix-style
SERIAL
column. - bigserial: Defines an Informix-style
BIGSERIAL
column. - sequence: Defines a column with values genereated from a
SEQUENCE
. - link: Defines a column with values copied from an auto-incremented column of a referenced master table.
- serial: Defines an Informix-style
-
If needed, use the Start field to specify a starting value for serial, bigserial or sequence.
-
In the Origin field:
- When using a sequence, specify the name of the sequence object.
- When using a link, specify the name of the referenced table and column
-
Click Save.