ALTER TABLE `orders` ADD UNIQUE `Unik` (`order_number`, `event_id`, `vendor_id`, `guest_id`, `place_of_order_id`, `customer_id`, `customer_head1_id`, `customer_head2_id`, `place_of_delivery_order_id`, `delivery_order_date`, `transaction_date`, `time_id`, `is_new`, `is_remove`);

ALTER TABLE `order_details` ADD UNIQUE `Unik` (`id`, `order_id`, `menu_id`, `menu_serve_of_order_id`, `unit_id`);

ALTER TABLE `order_statuses` ADD UNIQUE `Unik` (`id`, `order_id`, `status_id`);