DROP INDEX IF EXISTS idx_firewall_rule_created_by;
DROP INDEX IF EXISTS idx_firewall_client_created_by;
DROP INDEX IF EXISTS idx_bgp_peer_created_by;
DROP INDEX IF EXISTS idx_module_created_by;

ALTER TABLE firewall_rule DROP COLUMN IF EXISTS created_by_user_id;
ALTER TABLE firewall_client DROP COLUMN IF EXISTS created_by_user_id;
ALTER TABLE bgp_peer DROP COLUMN IF EXISTS created_by_user_id;
ALTER TABLE module DROP COLUMN IF EXISTS created_by_user_id;
