Add generating posts to database.