created post model and migration