Document adding a timestamp column with SQL `NOW()` as default value
notramo opened this issue · 1 comments
notramo commented
Is it possible to add a timestamp typed column to an existing table, with the default value being a raw SQL NOW()
? So if a new record is added, the column value is set to the timestamp the column was added.
jwoertink commented
Yup. add time : Time, default: :now
. Looks like it's just not documented.