
alter table "public"."audit_trail" drop constraint "audit_trail_billid_fkey",
          add constraint "audit_trail_billid_fkey"
          foreign key ("billid")
          references "public"."bills"
          ("id")
          on update cascade
          on delete set null;