Wrong Postgres SMALLSERIAL export

When I created a table with column type SMALLSERIAL primary key like:

Table event_types {
  id SMALLSERIAL [PK, increment] // sequence number, not snow flake
  name TEXT
  
  created_at TIMESTAMP [NOT NULL, default: `now()`]
}

Expected: Create table SQL should have something like

 CREATE TABLE...
  "id" SMALLSERIAL PRIMARY KEY,
 ...

Actual:

 CREATE TABLE...
 "id" SERIAL PRIMARY KEY,

Hello taynguyen!
Thank you for reporting the bug.

For now, we don’t support SMALLSERIAL for increment.
We will update it for next plan.

So if you want SQL to expect after export like:

  CREATE TABLE "event_types"
  "id" SMALLSERIAL PRIMARY KEY,

 ...

You can try:

  Table event_types {
  id SMALLSERIAL [PK] 
  ...
} 

Thanks,
Bao

Hi taynguyen,
SMALLSERIAL type is currently supported incrementally. You should try it out. Please let us know if you require any additional assistance.

Thank you very much!