Changing Primary Key of schema from Custom to Auto PK
I have a requirement where i want to change the Primary Key from internal to Auto PK.. How do i do it?
If i change the key and update database structure .. i get this error message;
08:00:51 - PGS-220000 PostgreSQL error: ERROR: could not create unique index "schemaName_id" DETAIL: Key (ischemaid)=(0) is duplicated.
08:00:51 - WDB-200001 SQL statement 'CREATE UNIQUE INDEX XXXXXXXXXXXXX_id ON XXXXXXXXXXXXXXX could not be executed.
08:00:51 - The update of the physical structure of the database has failed
08:00:51 - XSV-350122 An error occurred and the process has been stopped.