projects
/
xtuple
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Issue #23459 Populate new ccpay_card_type from ccard relation.
[xtuple]
/
foundation-database
/
public
/
patches
/
populate_ccpay_card_type.sql
1
-- Issue #23459 adds ccpay_card_type. Populate it from historical ccard relations.
2
UPDATE ccpay SET ccpay_card_type = (SELECT ccard_type FROM ccard WHERE ccard_id = ccpay_ccard_id)
3
WHERE ccpay_ccard_id IS NOT NULL;