Dup Ver Goto 📝

Create_Table_01

PT2/db/postgres does not exist
To
15 lines, 52 words, 451 chars Page 'Create_Table_01' does not exist.

1

See this stackoverflow

ALTER TABLE table_name 
ADD COLUMN id INTEGER PRIMARY KEY GENERATED ALWAYS AS IDENTITY;

ALTER TABLE table_name 
ADD COLUMN id INTEGER PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY;

and the generate always as identity it can be done in a create table.

2

See Postgres_Data_Types.