Commit 2eef1f1
committed
fix: correct schema syntax for SurrealDB 2.3.10 compatibility
Updated schema to use proper SurrealDB 2.3.10 syntax based on official
documentation:
- Removed duplicate ANALYZER definitions
- Fixed ASSERT statements to include NONE checks: ASSERT $value = NONE OR array::len($value) = N
- Made metadata fields FLEXIBLE TYPE to handle dynamic objects
- Corrected HNSW index syntax with proper parameters
- Ensured id fields use built-in record types (not string)
Schema is now fully compatible with SurrealDB 2.3.10 and properly
handles record IDs, graph traversal, and HNSW vector search.1 parent 6210c00 commit 2eef1f1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
318 | | - | |
| 318 | + | |
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
| |||
0 commit comments