init config migrate for sql