fix checks for TEXT DEFAULT NULL