In SQLite database, set the default value for the field as the current time

start

`creation_time`    NUMERIC DEFAULT (datetime('now','localtime')),
`update_time`    NUMERIC DEFAULT (datetime('now','localtime'))

 
The above

Reproduced in: https://www.cnblogs.com/vanwoos/p/9681149.html

Read More: