8 use Phinx\Migration\AbstractMigration;
11 public function up() {
13 $tableName =
"cutrustedmaster";
15 if ($this->hasTable($tableName)) {
17 $findRec = $this->fetchRow(
"SELECT * FROM cutrustedmaster WHERE trustedid = 'hcuLoanApp'");
22 $this->query(
'INSERT INTO "cutrustedmaster" ("trustedid", "trustedvendor", "trustedtype", "hcuinterface", "trustedfields") VALUES (\'hcuLoanApp\', \'HomeCU\', \'O\', NULL, \'{"lnAppId":{"Type":"string","Default":"4mH4VNSnVEHa72q4WhU8G6z%2F2z8tGLNJhA2tfIOTuwg%3D"},"URL":{"Type":"string","Default":"https:\/\/www6.homecu.net\/hculive7\/lnapp\/AppMain?appinit=1&f=hbssouser"},"hcuLogging":{"Type":"string","Default":"","Message":""}}\');');
29 public function down() {