Fix DB connect and generator for migrations