On Jan 22, 4:08 am, Iain Barnett <[email protected]> wrote: > I also tried replacing the line from the Sequel constant with the line I > currently use: > > "(datetime('now','localtime'))" to "date(CURRENT_TIMESTAMP, > 'localtime')" > > but it threw the same error. I just tried this, however, and it works: > > "(date(CURRENT_TIMESTAMP, 'localtime'))" > > The extra parens fix it. I'm not sure whether that's down to my system or > Sqlite. My Sqlite gem is v1.3.5 and Sqlite3 is 3.7.9. Sequel is at 3.31.0.
Interesting. Maybe I should throw extra parens around everything for defaults on SQLite. I'll give that a shot before the next release. Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en.
