We need to improve README.md to clearly describe how to generate the schema using the better-auth CLI. It should also point out that the generated schema is intended as a starting point for further modifications. Standard better-auth instructions for schema generation are designed for native adapters and can break optimizations made specifically for SurrealDB (such as Record Links). This is to prevent misuse from being reported as a bug (see #18 ).
TODO:
We need to improve
README.mdto clearly describe how to generate the schema using thebetter-authCLI. It should also point out that the generated schema is intended as a starting point for further modifications. Standardbetter-authinstructions for schema generation are designed for native adapters and can break optimizations made specifically forSurrealDB(such as Record Links). This is to prevent misuse from being reported as a bug (see #18 ).TODO:
README.mdabout schema generation via CLI.