alter table "public"."timetickets"
  add constraint "timetickets_ttapprovalqueueid_fkey"
  foreign key ("ttapprovalqueueid")
  references "public"."tt_approval_queue"
  ("id") on update cascade on delete set null;
