auto-claude: subtask-1-4 - Run migration for IT audit tables in DEV database

- Executed it_audit_migration.sql against DEV PostgreSQL (localhost:5433)
- Created it_audits and it_collaboration_matches tables
- Created 12 indexes for performance optimization
- Created 4 views: v_company_it_overview, v_it_audit_history,
  v_it_collaboration_overview, v_it_technology_stats
- Added missing document_management column to match SQLAlchemy model
- Applied grants for nordabiz_app user

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Maciej Pienczyn 2026-01-09 08:23:40 +01:00
parent 721e313549
commit 23b6425861

View File

@ -97,6 +97,7 @@ CREATE TABLE IF NOT EXISTS it_audits (
ticketing_system VARCHAR(50), -- jira, freshdesk, zendesk, none
erp_system VARCHAR(50), -- sap, optima, enova, wfmag, other, none
crm_system VARCHAR(50), -- salesforce, pipedrive, hubspot, other, none
document_management VARCHAR(50), -- none, sharepoint, google_drive, dropbox, other
-- ========================================
-- Active Directory (Section 3 extension)