Files
pocket-id/backend/resources/migrations/postgres/20250628000000_audit_logs_ip_null.down.sql

5 lines
158 B
MySQL
Raw Normal View History

ALTER TABLE audit_logs ALTER COLUMN ip_address SET NOT NULL;
DROP INDEX IF EXISTS idx_audit_logs_created_at;
DROP INDEX IF EXISTS idx_audit_logs_user_agent;