3
Comment modifier une table PostgreSQL et rendre une colonne unique?
J'ai une table dans PostgreSQL où le schéma ressemble à ceci: 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 ) Maintenant, je veux rendre le permalien unique sur la table en ALTER-IN la …