5 description => "Bring back accidentally deleted relationship columns",
8 my $dbh = $args->{dbh};
10 if( !column_exists( 'borrower_modifications', 'relationship' ) ) {
12 ALTER TABLE borrower_modifications ADD COLUMN `relationship` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `borrowernotes`
16 if( !column_exists( 'borrowers', 'relationship' ) ) {
18 ALTER TABLE borrowers ADD COLUMN `relationship` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'used for children to include the relationship to their guarantor' AFTER `borrowernotes`
22 if( !column_exists( 'deletedborrowers', 'relationship' ) ) {
24 ALTER TABLE deletedborrowers ADD COLUMN `relationship` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'used for children to include the relationship to their guarantor' AFTER `borrowernotes`