After creating the idpagamentoCielo
column as the primary key, I was not able to add the auto-increment
property to the column.
How can I assign the auto-increment
property to the idpagamentoCielo
column?
Note: the database is postgresql
Automatic generation SQL :
CREATE TABLE public.pagamentocielo (
idpagamentocielo int NOT NULL,
CONSTRAINT pagamentocielo_pk PRIMARY KEY (idpagamentocielo)
)
WITH (
OIDS=FALSE
);