3 ms·
Or even better just SET STRICT_TABLES, or whatever other opt-in feature you want. A couple of such statements in the beginning of your migration script (refacto
by krick 3mo ago
Or even better just SET STRICT_TABLES, or whatever other opt-in feature you want. A couple of such statements in the beginning of your migration script (refactored in a way to be reused across all migration scripts) and you are done. I wouldn't want to learn WTF "2026.1 defaults" are.
- firesteelrain 3mo agoI just do it in my code like def create_table(name, cols): return f"CREATE TABLE {name} ({cols}) STRICT;"
- boredatoms 3mo agoThat relies on you knowing about what good settings are though