Adds trigger for reservations validations

todo: multiline inserts