diff --git a/store/db/migration_history.go b/store/db/migration_history.go index ef56da6e..bf230b00 100644 --- a/store/db/migration_history.go +++ b/store/db/migration_history.go @@ -72,7 +72,7 @@ func findMigrationHistoryList(ctx context.Context, tx *sql.Tx, find *MigrationHi FROM migration_history WHERE ` + strings.Join(where, " AND ") + ` - ORDER BY created_ts DESC + ORDER BY version DESC ` rows, err := tx.QueryContext(ctx, query, args...) if err != nil { diff --git a/web/src/pages/Auth.tsx b/web/src/pages/Auth.tsx index 9c63c0a9..27ee93ad 100644 --- a/web/src/pages/Auth.tsx +++ b/web/src/pages/Auth.tsx @@ -142,7 +142,7 @@ const Auth: React.FC = () => {