add activity log sql for database setup