keg and measurements models and migrations