projects
/
eq
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed interview tool to encorporate a new interview scheduling tool.
[eq/.git]
/
import_ward_data
diff --git
a/import_ward_data
b/import_ward_data
index 405784a97f8dd379f05159485e27625d24c59fdf..c13e6ed2eaf012a9778293414047299e6a340b26 100755
(executable)
--- a/
import_ward_data
+++ b/
import_ward_data
@@
-136,6
+136,8
@@
sub update_eq_aaronic_table
#| phone | varchar(12) | YES | | NULL | |
#| ppi_pri | int(10) unsigned | YES | | 1 | |
#| ppi_notes | varchar(128) | YES | | NULL | |
#| phone | varchar(12) | YES | | NULL | |
#| ppi_pri | int(10) unsigned | YES | | 1 | |
#| ppi_notes | varchar(128) | YES | | NULL | |
+#| int_pri | int(10) unsigned | YES | | 1 | |
+#| int_notes | varchar(128) | YES | | NULL | |
#| valid | tinyint(1) | YES | | NULL | |
#+-------------+------------------+------+-----+---------+----------------+
sub update_eq_elder_table
#| valid | tinyint(1) | YES | | NULL | |
#+-------------+------------------+------+-----+---------+----------------+
sub update_eq_elder_table
@@
-163,7
+165,7
@@
sub update_eq_elder_table
if($rows == 0) {
# No existing records found for this elder, make a new entry
print " Adding new Elder: $elder_name\n";
if($rows == 0) {
# No existing records found for this elder, make a new entry
print " Adding new Elder: $elder_name\n";
- $sth = $dbh->prepare("insert into eq_elder values (NULL,'$elder_name','$phone','1','',1)");
+ $sth = $dbh->prepare("insert into eq_elder values (NULL,'$elder_name','$phone','1','',
'1','',
1)");
$sth->execute or die "-E- DB error: $DBI::errstr\n";
} elsif($rows == 1) {
# An existing record was found for this elder, update it
$sth->execute or die "-E- DB error: $DBI::errstr\n";
} elsif($rows == 1) {
# An existing record was found for this elder, update it