CREATE TABLE public.order_items (
    id       bigint NOT NULL,
    order_id bigint NOT NULL,
    user_id  bigint NOT NULL
);
ALTER TABLE public.order_items
    ADD CONSTRAINT order_items_order_id_fkey
    FOREIGN KEY (order_id) REFERENCES public.orders(id);
ALTER TABLE public.order_items
    ADD CONSTRAINT order_items_user_id_fkey
    FOREIGN KEY (user_id) REFERENCES public.users(id);
