Fixed database migrates