plugin with model and migrations