fix: anvil_transfer_pricing upsert 시 updated_at 갱신
ON CONFLICT 절에 updated_at = CURRENT_TIMESTAMP 추가 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -58,7 +58,8 @@ export class AnvilTransferPricingRepository extends BaseRepository<AnvilTransfer
|
|||||||
) VALUES (?, ?)
|
) VALUES (?, ?)
|
||||||
ON CONFLICT(anvil_region_id)
|
ON CONFLICT(anvil_region_id)
|
||||||
DO UPDATE SET
|
DO UPDATE SET
|
||||||
price_per_gb = excluded.price_per_gb`
|
price_per_gb = excluded.price_per_gb,
|
||||||
|
updated_at = CURRENT_TIMESTAMP`
|
||||||
).bind(
|
).bind(
|
||||||
price.anvil_region_id,
|
price.anvil_region_id,
|
||||||
price.price_per_gb
|
price.price_per_gb
|
||||||
|
|||||||
Reference in New Issue
Block a user