Using work bench I have 2 data fields/columns that are dates
One is the date and time the record was first inserted into the table and will remain the same until the record is deleted lets call it DATE_CREATED
The second is the date and time the record was updated lets call it DATE_CREATED
Data Type for both is TIMESTAMP or should I make it DATETIME
In the workbench how should I set the default value to keep DATE_CREATED static and keep DATE_UPDATED dynamic so it changes each time the record is updated
One is the date and time the record was first inserted into the table and will remain the same until the record is deleted lets call it DATE_CREATED
The second is the date and time the record was updated lets call it DATE_CREATED
Data Type for both is TIMESTAMP or should I make it DATETIME
In the workbench how should I set the default value to keep DATE_CREATED static and keep DATE_UPDATED dynamic so it changes each time the record is updated