check_tcpl_db_schema function

Function that checks if the most recent v3 table schema is used in the database schema