Fixed bug on db-add-post function.

Fixed bug on db-add-post function.
ERROR: There is no relationship "tpost_id" in character 147