ALTER TABLE cart DROP CONSTRAINT IF EXISTS fk_menu_item;
ALTER TABLE cart DROP COLUMN IF EXISTS menu_item_id;
ALTER TABLE cart ADD COLUMN menu_item_id INT;
ALTER TABLE cart ADD CONSTRAINT fk_menu_item FOREIGN KEY (menu_item_id) REFERENCES menu_items(id);