7 use Phinx\Migration\AbstractMigration;
18 $tableName =
"cuadminprogs";
19 $row = $this->fetchRow(
"SELECT * FROM cuadminprogs WHERE program = 'aAdminSettings'" );
21 print
"Adding 'aAdminSettings'\n";
23 $singleRow = [
"program" =>
"aAdminSettings",
24 "displaytext" =>
"Admin Settings",
25 "description" =>
"Allows you to set the default banking profile for new user who auto enroll and maintain the ACH batch settings.",
28 $table = $this->table( $tableName );
29 $table->insert($singleRow)->saveData();
31 print
"'aAdminSettings' already exists in table\n";
40 public function down()
42 print
"Not implementing the 'down'";