It would be great if the conditions for this error were clarified a bit more (in the actual error or documentation).
Error: Config(Invalid("Table for api '...' is missing valid integer/UUID primary key column."))
Like:
Error: Config(Invalid("Table for api '...' is missing valid integer/UUID primary key column. You should specify
a primary key like `<field> int primary key` or `<field> blob primary key check(is_uuid_v4|v7(<field>))`"))
I have not been using SQLite for long so this could totally just be a result of skill issues. However, it is rather counter-intuitive that this error will trigger unless you specifically use blob and a is_uuid_* check is present when creating the table, when it is possible to store UUIDs with TEXT or BLOB fields without checks.
It would be great if the conditions for this error were clarified a bit more (in the actual error or documentation).
Like:
I have not been using SQLite for long so this could totally just be a result of skill issues. However, it is rather counter-intuitive that this error will trigger unless you specifically use
bloband ais_uuid_*check is present when creating the table, when it is possible to store UUIDs with TEXT or BLOB fields without checks.