refactor: update stores

This commit is contained in:
Steven
2023-06-20 15:54:56 +08:00
parent 8fb410ec3b
commit 805ab9996e
16 changed files with 1160 additions and 403 deletions

View File

@@ -67,7 +67,7 @@ func findMigrationHistoryList(ctx context.Context, tx *sql.Tx, find *MigrationHi
FROM
migration_history
WHERE ` + strings.Join(where, " AND ") + `
ORDER BY version DESC
ORDER BY created_ts DESC
`
rows, err := tx.QueryContext(ctx, query, args...)
if err != nil {