From 9573914b525dcf08531880582acceecb467e1a46 Mon Sep 17 00:00:00 2001 From: Spencer Ferris <3319370+spencewenski@users.noreply.github.com> Date: Thu, 26 Dec 2024 01:24:37 -0800 Subject: [PATCH] Reorder enum values --- src/migration/user/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/migration/user/mod.rs b/src/migration/user/mod.rs index 5ec4224..4de89b2 100644 --- a/src/migration/user/mod.rs +++ b/src/migration/user/mod.rs @@ -40,8 +40,6 @@ pub enum User { LastSignInAt, RecoverySentAt, RecoveryToken, - /// The user's new email address that has not yet been confirmed. - PendingEmail, EmailChangeSentAt, /// Token sent to the new email to confirm it's a valid email and the user has access to it. EmailChangeTokenNew, @@ -49,6 +47,8 @@ pub enum User { EmailChangeTokenCurrent, /// When the user was deleted. DeletedAt, + /// The user's new email address that has not yet been confirmed. + PendingEmail, } /// The collection of migrations defined to create a `user` table. Relevant [MigrationTrait]s