BEGIN; drop table if exists iam_scope CASCADE; drop trigger if exists iam_scope_insert; drop function if exists iam_sub_scopes_func; COMMIT;