Is it possible in a sqlite database to craete a table that has a timestamp column that default to DATETIME(\'now\') ?
DATETIME(\'now\')
Like this:
CREATE
It's just a syntax error, you need parenthesis: (DATETIME('now'))
(DATETIME('now'))
If you look at the documentation, you'll note the parenthesis that is added around the 'expr' option in the syntax.