CREATE TRIGGER au_bed
    AFTER UPDATE ON bed
    FOR EACH ROW 
INSERT INTO bed_audit
(bed_id, room_id, 
bed_name, is_slab, description, 
service_item_id, service_rate_id, 
is_occupied, is_active, created_at)
Value( old.id,  old.room_id, 
			old.bed_name, old.is_slab, old.description, 
			old.service_item_id, old.service_rate_id, 
			old.is_occupied, old.is_active, CURRENT_TIMESTAMP);

