Corrections in the base class model (working with MYSQL)