- MIGRATIONS_DIR as a constant that permits call migrate.php directly
  from another folder, and control error in exec SQL that prints the
  SQL sentence that causes the error.