alter table "public"."inventory" drop constraint "inventory_consumedbybillid_fkey",
  add constraint "inventory_consumedbybillid_fkey"
  foreign key ("consumedbybillid")
  references "public"."bills"
  ("id") on update cascade on delete set null;
