Generate model
Add migration code
Run migration
Create @pubs var referencing model