generated posts scaffold and migration