MyTetra Share
Делитесь знаниями!
Remove uniqueness of index in PostgreSQL
Время создания: 13.07.2018 15:30
Текстовые метки: postgresql psql unique
Раздел: Postgresql
Запись: Velonski/mytetra-database/master/base/1507784186k4znhvef5d/text.html на raw.githubusercontent.com

You may be able to remove the unique CONSTRAINT, and not the INDEX itself.

Check your CONSTRAINTS via select * from information_schema.table_constraints;

Then if you find one, you should be able to drop it like:

ALTER TABLE "my_table" DROP CONSTRAINT "unique_something"

Так же в этом разделе:
 
MyTetra Share v.0.59
Яндекс индекс цитирования