Postgres 11 Добавьте первичный ключ
ALTER TABLE [table_name] ADD PRIMARY KEY ( [col_name] );
Breakable Bee
ALTER TABLE [table_name] ADD PRIMARY KEY ( [col_name] );