Ich habe eine Tabelle in PostgreSQL, deren Schema wie folgt aussieht:
CREATE TABLE "foo_table" (
"id" serial NOT NULL PRIMARY KEY,
"permalink" varchar(200) NOT NULL,
"text" varchar(512) NOT NULL,
"timestamp" timestamp with time zone NOT NULL
)
Jetzt möchte ich den Permalink in der Tabelle eindeutig machen, indem ich ALTER
-Einstellung des Tisches.