XF 1.5 update customfield entry by sql command

Nudaii

Well-known member
howdy, one of the addons my community is working on requires a sql command to increment a custom field number by 1 each time its used.

on our php/ non xf copy this works

UPDATE `force_alignment` SET `points` = `points` + 1 WHERE `user_id` = 1

what would the query be for xF if the field in question was called custom field id was force points?:)

thanks in advance!
 
Back
Top Bottom