952 days continuous production uptime, 40k+ tp/s single node. Original corpo Bitbucket history not included — clean archive commit.
39 lines
1.3 KiB
PHP
39 lines
1.3 KiB
PHP
<?php
|
|
/**
|
|
* This constants file contains all the Priceline.com schema constants and should only appear in Priceline (pl)
|
|
* templates. This file exists in both SMAX and Namaste so please update the other when you update one.
|
|
*
|
|
*
|
|
* @author mike@givingassistant.org
|
|
* @version 1.0
|
|
*
|
|
*
|
|
* HISTORY:
|
|
* ========
|
|
* 06-12-20 mks ECI-164: original coding
|
|
*
|
|
*/
|
|
|
|
// Donors Table
|
|
// ---- schema constants
|
|
const TEMPLATE_PL_DONORS = 'Donors'; // template's raw name
|
|
const COLLECTION_MONGO_PL_DONORS = 'plDonors'; // name of the mongo collection
|
|
const COLLECTION_PL_DONORS_EXT = '_don'; // name of the extension for the Donors collection
|
|
// ---- schema column names
|
|
const PL_CID = 'plCauseID';
|
|
const PL_CAUSE_TITLE = 'plCauseTitle';
|
|
const PL_DONATIONS_TCC = 'plDonationsToCurrentCause';
|
|
const PL_FK = 'plForeignId';
|
|
const PL_SHARE_DATA_WITH_CAUSE = 'plShareDataWithCause';
|
|
const PL_TOT_DONS = 'plTotalDonations';
|
|
const PL_TRANS_COUNT = 'plTransactionCount';
|
|
// ---- cache-mapped column names
|
|
const PL_CM_CAUSE_TITLE = 'causeTitle';
|
|
const PL_CM_CID = 'cid';
|
|
const PL_CM_DTCC = 'donationsToCurrentCause';
|
|
const PL_CM_FK = 'foreignId';
|
|
const PL_CM_SDWC = 'shareDataWithCause';
|
|
const PL_CM_TD = 'totalDonations';
|
|
const PL_CM_TC = 'transactionCount';
|
|
const PL_CM_SMAX_KEY = 'XAPIKEY';
|