TablePlus-Windows icon indicating copy to clipboard operation
TablePlus-Windows copied to clipboard

Set value to current date date

Open wout opened this issue 6 years ago • 10 comments

This is a feature request. It would be very useful to set the value of a datetime column to the current time. Currently, NULL, EMPTY and DEFAULT are the only available options from the contextual menu.

wout avatar Jun 08 '19 13:06 wout

I'm gonna bump this :)

jazerix avatar Oct 08 '21 05:10 jazerix

I'd like to bump this as well. Number of times while trying to make a new table and it's just not possible even from a manual typing. This has been really annoying. 😅

A-Matt avatar Jan 19 '22 09:01 A-Matt

Hi all, the feature, set current datetime value, is available on the latest version. If the column is date, time or datetime type, it will have this menu in the context menu, and also in the right pane. If you don't see it, please give me more detail about your app version and database type. Thank you so much for your support. image image

sonswift avatar Jan 19 '22 09:01 sonswift

Table Plus: 4.8.6 (186) x64 Database: MySQL 5.7

I can confirm I do see this when on selecting a row and updating the info. image

However on a Table creation this doesn't have it which is where most people will want to set the Default value of an item to be Now/current_time ETC.

image

A-Matt avatar Jan 19 '22 10:01 A-Matt

Hi @A-Matt, thanks for your feedback. We will consider to add it as soon as possible. I will give a notice here when it's done.

sonswift avatar Jan 19 '22 10:01 sonswift

Thanks, great to hear! 😁

A-Matt avatar Jan 19 '22 10:01 A-Matt