Skip to content

[bug]: Primary and Alias addresses are switched when using MySQL as storage and authentication #1121

Answered by andreymal
Har-Kuun asked this question in Q&A
Discussion options

You must be logged in to vote

Well, ORDER BY address ASC obviously moves @example.com before [email protected]

The documentation suggests ORDER BY type DESC, address ASC

(but personally I'd replace the type column with a numeric column for ordering)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Har-Kuun
Comment options

@andreymal
Comment options

Answer selected by Har-Kuun
@Har-Kuun
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working
3 participants
Converted from issue

This discussion was converted from issue #1114 on January 22, 2025 19:16.