0

I want to change a column data type from integer to a serial

ALTER TABLE "TestTable" ALTER COLUMN "ID" TYPE serial ;

but it seem can to change for anything except serial !! i got this error

ERROR: type "serial" does not exist ********** Error **********

ERROR: type "serial" does not exist SQL state: 42704

is there any way to solve the problem ? Thanks in advance

Hamza Benzaoui
  • 168
  • 3
  • 14

0 Answers0