Hello,
Thanks for this amazing project!
I'm trying to use Full Text Search (FTS5) with Trailbase but without success.
It uses a virtual table which cannot be defined as "STRICT" because it is not a data table.
{
name: "hosts_fts"
table_name: "hosts_fts"
acl_world: [READ]
}
CREATE VIRTUAL TABLE hosts_fts USING fts5(
hostname,
os_name,
os_version,
content='hosts',
content_rowid='id'
);
In my case hosts_fts uses the fields in the hosts table which is defined as STRICT.
[2026-05-25T12:35:22.531895Z WARN trailbase_schema::sqlite] PK table constraint not implemented. Use column constraints.
Error: Config(Invalid("TABLE \"hosts_fts\" referenced by API 'hosts_fts': Must be STRICT for strong end-to-end type-safety."))
Hello,
Thanks for this amazing project!
I'm trying to use Full Text Search (FTS5) with Trailbase but without success.
It uses a virtual table which cannot be defined as "STRICT" because it is not a data table.
CREATE VIRTUAL TABLE hosts_fts USING fts5( hostname, os_name, os_version, content='hosts', content_rowid='id' );In my case
hosts_ftsuses the fields in thehoststable which is defined as STRICT.[2026-05-25T12:35:22.531895Z WARN trailbase_schema::sqlite] PK table constraint not implemented. Use column constraints. Error: Config(Invalid("TABLE \"hosts_fts\" referenced by API 'hosts_fts': Must be STRICT for strong end-to-end type-safety."))