modcomms/backend/alembic/versions
michael 407f11c003 Add user change history audit trail for compliance
Adds a user_change_logs table to track all role and agency changes made
to users by super admins. Includes a change history modal in the User
Management screen (clock icon per row) showing timestamped, human-readable
change descriptions with the actor who made each change.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 08:41:16 -06:00
..
001_initial_schema.py permissions changes 2025-12-18 16:51:27 +00:00
002_seed_dropdown_options.py Seed database with agencies, brand guidelines, and dropdown options 2025-12-18 17:16:23 -06:00
003_add_meta_proof_types.py Add proof types for Meta sub-channel 2026-01-08 10:07:28 -06:00
004_cleanup_duplicate_dropdown_options.py Add migration to cleanup duplicate dropdown options 2026-01-23 13:22:44 -06:00
005_add_file_hash.py Fix migration down_revision to correct revision ID 2026-01-25 10:18:11 -06:00
006_add_knowledge_base.py Add Knowledge Base management system for AI agent specs 2026-02-12 15:00:36 -06:00
007_add_role_check_constraint.py Add 4-tier RBAC backend: auth dependencies, role enforcement, agency filtering 2026-02-19 08:28:23 -06:00
008_add_user_change_log.py Add user change history audit trail for compliance 2026-02-22 08:41:16 -06:00