mirror of
https://github.com/storytold/craft-anything.git
synced 2026-11-25 00:40:56 +01:00
A default such as `DEFAULT -'1e3'` is read as SQLite reads it: the quoted text becomes an integer when it's written as one and a real otherwise, is negated, and then takes the column's affinity, so it's '-1000.0' in a TEXT column and -1000 in an INTEGER one. Quoted text with a digit separator, or that isn't a number, stays unsupported.