add postgresql database settings.
add Posts model.