starting migration to datamapper
migrating to DB insted of Log class, can add event (persist)
can go to event detaisl page
can go to modify event page
can update event
can destroy
can find total duration absent
can fetch required min stay
THIS THING FUNCTIONS