I have tried the following SQL to make a DATE field in Base that will update when the record has been modified to show the date it was last updated.
“DateModified” DATE DEFAULT CURRENT_DATE — this gives me the date that the record was created, but will not update when modified… so
I searched online and found someone suggested to instead set my field like this:
“DateModified” DATE DEFAULT CURRENT_TIMESTAMP — again this is a set timestamp for the date the field was created. I cannot seem to get it to update when the record is modified.
Is there a way using SQL to get a field to update the date when the record has been modified?