NOTICE: ALTER TABLE / ADD PRIMARY KEY will create implicit index "temp_pkey" for table "temporal" ERROR: could not create unique index DETAIL: Table contains duplicated values.