Write to and Read from Repository
Revert "Add type column to Posts"

This reverts commit 2e464204d15624092ddcfddb0e49622732f00792.
Add category column to Posts
Change type to category