I have a table that looks like this
user_id | name | created_on | updated_on -------------------------------------------------- 1 | Peter D | 1
CREATE TRIGGER your_table_trig AFTER UPDATE ON your_table BEGIN update your_table SET updated_on = datetime('now') WHERE user_id = NEW.user_id; END;