Commit e49a3e5
authored
fix: ensure identities are returned in a consistent order across DB engines (#2465)
Returns identities in a consistent order to work across DB engines.
Previously, we were relying on Postgres' implicit ordering which is
considered an implementation detail and does not carry across to Oriole
DB
(https://github.com/supabase/auth/actions/runs/24069608972/job/70203207256?pr=2464).
Although we don't have an index on created_at, this should be fine since
a user is unlikely to have many indexes and `FindProvidersByUser`
filters by the user_id first.
Related: #24641 parent 983ade6 commit e49a3e5
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
0 commit comments