Jump to content

create table; datetime default value current_timestamp +


fatkatie

Recommended Posts

How about you stop posting “blah blah blah” and actually get to the point?

 

So, what's your problem? The manual clearly says that you need at least version 10.2.1 for the above feature. That's a hard fact. Since you don't want triggers, this leaves you with exactly two choices:

  • Upgrade your MariaDB.
  • Give up and simply store the current timestamp. You can still add the 10 minutes in your application.
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.