MySQL Date ( default value )
frost-jm
TRIALOP

2 years ago

I'm trying to add a new column in my table which has a ( date ) type.

But i want to set a default value like current_timestamp.

i tried searching but can't see references. If it's possible how to do it?

Solved

1 Replies

brody
EMPLOYEE

2 years ago

Do not use the data tab to do such things, it should really only ever be used for a "yeah there's some data in here" sanity check. Instead, what I like to do is deploy the dbgate template into the project and use that to manage the database.


Status changed to Solved Railway almost 2 years ago


Loading...