format code to PSR
correct check configuration
correct registr migrations from directory
use the backward compatibility method for set a migrations table name