From 2ffc07f8fd75055adcc895ac047eb0055008054a Mon Sep 17 00:00:00 2001 From: Jay Janssen Date: Wed, 26 Jun 2024 13:56:02 -0400 Subject: [PATCH] updated date format for old table name --- pkg/migration/runner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/migration/runner.go b/pkg/migration/runner.go index a8c7e9a..7f0cf0d 100644 --- a/pkg/migration/runner.go +++ b/pkg/migration/runner.go @@ -597,7 +597,7 @@ func (r *Runner) dropOldTable(ctx context.Context) error { } func (r *Runner) oldTableName() string { - return fmt.Sprintf("_%s_old_%s", r.table.TableName, r.startTime.UTC().Format("20060102_150405Z")) + return fmt.Sprintf("_%s_old_%s", r.table.TableName, r.startTime.UTC().Format("20060102_150405.000")) } func (r *Runner) attemptInstantDDL(ctx context.Context) error {