Fix DB design actually being valid SQL
Fix empty database functionality
Give checkin form an ID