add record attendance database scripts