compile and update migration package

This commit is contained in:
c9s 2024-06-19 15:59:33 +08:00
parent 82501ff57c
commit 6cdf991877
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -16,7 +16,7 @@ func up_main_tradesCreated(ctx context.Context, tx rockhopper.SQLExecutor) (err
if err != nil {
return err
}
_, err = tx.ExecContext(ctx, "UPDATE `trades` SET `inserted_at`=`traded_at`;")
_, err = tx.ExecContext(ctx, "UPDATE `trades` SET `inserted_at` = `traded_at`;")
if err != nil {
return err
}