Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -168,7 +168,7 @@ ON CONFLICT (currency, level_no) DO NOTHING
|
||||
if tableName == "mk_price_target_map_pg" && valueColumn == "sdprcgrp_id" {
|
||||
stmt = fmt.Sprintf(`
|
||||
INSERT INTO %s (currency, level_no, %s, description, is_active, created_at, updated_at)
|
||||
VALUES ($1, $2, $2, '', TRUE, now(), now())
|
||||
VALUES ($1, $2::smallint, $2::integer, '', TRUE, now(), now())
|
||||
ON CONFLICT (currency, level_no) DO NOTHING
|
||||
`, tableName, valueColumn)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user