You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A workaround is to define a before_create method in the Example class which populates self.timestamp with a suitable timestamp if it is None; but this obviously defeats the purpose of having SQlite supply a default.
Macaron inserts the literal string
CURRENT_TIMESTAMP
if I declare a table with a field like this;and create a new
Example()
with no explicittimestamp
value.The text was updated successfully, but these errors were encountered: