MySQL Date ( default value )

frost-jmTRIAL

a year 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

a year 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[bot] about 1 year ago