In my DB backend, I have the repeating requirement to set created
and updated
fields. I know that mySQL can manage such fields automatically and I guess most other DBs will do likewise.
I understand that doctrine is used to abstract table schemata from various flavours of backend DBs.
Is there a simple way to configure doctrine such that auto-updating is done on the db side? I was thinking of making the proper definitions in the corresponding NC SimpleMigrationStep
class and would like to avoid working with db events.