diff --git a/userapi/storage/postgres/deltas/2022080800000000_no_guests.go b/userapi/storage/postgres/deltas/2022080800000000_no_guests.go index cc6126aad..9985fd822 100644 --- a/userapi/storage/postgres/deltas/2022080800000000_no_guests.go +++ b/userapi/storage/postgres/deltas/2022080800000000_no_guests.go @@ -8,7 +8,7 @@ import ( func UpNoGuests(ctx context.Context, tx *sql.Tx) error { // AddAccountType introduced a bug where each user that had was registered as a regular user, but without user_id, became a guest. - _, err := tx.ExecContext(ctx, "UPDATE account_accounts SET account_type = 1 WHERE account_type = 2;") + _, err := tx.ExecContext(ctx, "UPDATE userapi_accounts SET account_type = 1 WHERE account_type = 2;") if err != nil { return fmt.Errorf("failed to execute upgrade: %w", err) }