Enter the shared admin token to continue.
Your token is cached for this browser session only.
Every codification subject (e.g. Anti-Smoking Tobacco Control) is stored in MySQL as a row in codification_subjects, and every ordinance/resolution assigned to a subject is a row in codification_subject_docs. The actual TXT and PDF files live in uploads/ordinances/ and uploads/resolutions/ β never duplicated per subject.
(PWD CODE) β this is shown in reports but doesn't change the filename.Each document row has two file badges: πTXT and πPDF. Their color tells you the status:
When you upload, the file is automatically saved to its canonical decade folder (uploads/ordinances/PDF/2020s/) or council-term folder (uploads/resolutions/2025-2028 15cc/). Filenames are rewritten to <number>.<ext> β no matter what the original filename was. Existing files are overwritten (with audit log entry).
After uploading a new file, also hit /api/maintenance/rebuild-all.php?token=β¦ once to refresh the search index. The file badges on this page will update the moment you reload.
Every mutation here is written to codification_audit_log β open the Audit Log button on the top-right to see the most recent 50 actions with timestamps.
The site's Report Center (Codification Index) reads directly from these tables. There's no additional rebuild step needed for subject assignments β they take effect on the next page load. If you upload a new PDF/TXT file, also call /api/maintenance/rebuild-all.php?token=β¦ so the search index picks it up.
Max 50 MB. The file will be renamed automatically to match the document number. If a file already exists, it will be overwritten.