Comments - DEFAULT CURRENT_TIMESTAMP is not possible
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
Hi,
In 1.0 & 1.1 CURRENT_TIMESTAMP is not supported. We have a ticket to add support for this: https://jira.mariadb.org/browse/MCOL-1039
There is not a good alternative at the moment that will cover every use case because the alternative would need to support DML statements via MariaDB as well as cpimport and API writes.
If you are just doing DML writes and not using cpimport then a TRIGGER may work.
Trigger would work for sure.
Thank you.