Jökull Sólberg
Jökull Sólberg
Explore posts from servers
DTDrizzle Team
Created by Jökull Sólberg on 5/25/2023 in #help
Simulate enums with SQLite `CHECK()`
I'm a heavy enum user in Postgres. Using SQLite now, wondering if anyone has come up with something clever to narrow a TEXT value to some values, perhaps based on CHECK() constraints, which kind of give you what ENUM does.
12 replies