ticket:10 model and migration