something wrong when using xorm reverse on unique index #1183
Labels
No Label
backport/done
backport/v1
blocked
db
oracle
db
sqlserver
duplicate
feature
cache
frontport/done
frontport/main
invalid
kind
breaking
kind
bug
kind
build
kind
dependencies
kind
docs
kind
driver
kind
enhancement
kind
feature
kind
performance
kind
proposal
kind
question
kind
refactor
kind
testing
need
feedback
need
test
proposal:accepted
RaspBerry Pi
regression
skip-changelog
upstream
wip
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: xorm/xorm#1183
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
error message
the table
the sql of userc table
moved cmd
I think the problem is here.
when execute
SELECT indexname, indexdef FROM pg_indexes WHERE tablename='userc_addr' and schemaname='public';
got indexdef
CREATE UNIQUE INDEX userc_addr_userc_id_is_default_key ON public.userc_addr USING btree (userc_id, is_default) WHERE (is_default = true)
I can submit a pull request if necessary.
@lunny
@xuyz please send a PR and better if you can add some tests