first commit

This commit is contained in:
2026-07-03 15:46:56 -04:00
commit bf8532aa1e
1545 changed files with 450330 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
<?php
$SQL = "CREATE TABLE voterhistory (
voterhistory_serial serial,
voterhistory_county_code CHAR(3) NOT NULL,
voterhistory_voter_id CHAR(10) NOT NULL,
voterhistory_election_date DATE NOT NULL,
voterhistory_election_type CHAR(3) NOT NULL,
voterhistory_history_code CHAR(1) DEFAULT NULL,
voterhistory_record_created DATETIME DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (voterhistory_serial),
UNIQUE KEY uq_voterhistory (voterhistory_county_code, voterhistory_voter_id, voterhistory_election_date, voterhistory_election_type),
KEY idx_vh_voter (voterhistory_county_code, voterhistory_voter_id),
KEY idx_vh_election (voterhistory_election_date, voterhistory_election_type),
KEY idx_vh_county_election (voterhistory_county_code, voterhistory_election_date, voterhistory_election_type)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ";
?>