add versions and snapkins tables with associations.