Revision column not nullable in version classes