Remove uniqueness of index in PostgreSQL

后端 未结 5 1297
南笙
南笙 2021-01-31 06:56

In my PostgreSQL database I have a unique index created this way:

CREATE UNIQUE INDEX  ON  USING btree (my_column)
5条回答
  •  [愿得一人]
    2021-01-31 07:40

    If you have PgAdmin4 installed than it's very easy just follow below steps...

    1. Go to table properties(right click on table and select properties).
    2. A window will open than navigate to Constraints in properties window.
    3. In Constraints option you will see options as below screenshot just go to Unique there you will see columns that has unique constraints. Click on delete button and save. that's it you are good to go.

提交回复
热议问题