generated a posts controller
ran migration and generated model plus controllers