creates Post model with title, author and body. Created and migrated database