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
Emit DEFAULT without parens for simple identifiers
The DEFAULT_GENERATED path wraps the translated expression in parens
unconditionally. Real SQLite's PRAGMA strips outer parens round-trip;
Turso keeps them. For simple identifier defaults (CURRENT_TIMESTAMP,
etc.) SQLite accepts the unwrapped form; emit without parens so
Turso's PRAGMA matches SQLite's.
Fixes testCreateTableWithDefaultNowFunction. testCreateTableWithDefaultExpressions
still fails because 1 + 2 needs parens for SQLite syntax.
0 commit comments