UPDATE `restaurants`
SET `currency` = 'RSD', `updated_at` = CURRENT_TIMESTAMP
WHERE `id` = 'rest_bistro_dunav';--> statement-breakpoint

UPDATE `menu_item_variants`
SET `price_minor` = `price_minor` * 100
WHERE `item_id` IN (
  SELECT `id` FROM `menu_items` WHERE `restaurant_id` = 'rest_bistro_dunav'
);--> statement-breakpoint

UPDATE `ticket_items`
SET
  `unit_price_minor` = `unit_price_minor` * 100,
  `line_total_minor` = `line_total_minor` * 100
WHERE `ticket_id` IN (
  SELECT `id` FROM `tickets` WHERE `restaurant_id` = 'rest_bistro_dunav'
);--> statement-breakpoint

UPDATE `tickets`
SET
  `total_minor` = `total_minor` * 100,
  `currency` = 'RSD',
  `updated_at` = CURRENT_TIMESTAMP
WHERE `restaurant_id` = 'rest_bistro_dunav';
