fix: Remove platform_id_source from harmonization INSERT
Production DB doesn't have this column - removing to allow creates. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -222,14 +222,14 @@ async function createDispensary(
|
|||||||
menu_url, menu_type, address, postal_code, latitude, longitude,
|
menu_url, menu_type, address, postal_code, latitude, longitude,
|
||||||
is_delivery, is_pickup, phone,
|
is_delivery, is_pickup, phone,
|
||||||
dutchie_verified, dutchie_verified_at,
|
dutchie_verified, dutchie_verified_at,
|
||||||
crawl_enabled, platform_id_source, platform_id_verified_at,
|
crawl_enabled,
|
||||||
created_at, updated_at
|
created_at, updated_at
|
||||||
) VALUES (
|
) VALUES (
|
||||||
$1, $2, $3, $4, 'dutchie', $5,
|
$1, $2, $3, $4, 'dutchie', $5,
|
||||||
$6, 'dutchie', $7, $8, $9, $10,
|
$6, 'dutchie', $7, $8, $9, $10,
|
||||||
$11, $12, $13,
|
$11, $12, $13,
|
||||||
true, NOW(),
|
true, NOW(),
|
||||||
true, 'dutchie_harmonization', NOW(),
|
true,
|
||||||
NOW(), NOW()
|
NOW(), NOW()
|
||||||
)
|
)
|
||||||
ON CONFLICT (slug) DO UPDATE SET
|
ON CONFLICT (slug) DO UPDATE SET
|
||||||
|
|||||||
Reference in New Issue
Block a user