Agent Wranglers

Schema design

Let the database guard its own data. Use constraints, exact types and stable keys, so no bug in any app can store a row that makes no sense.

  • Recommended 8

Read this with

For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/data/schema-design">Agent Wranglers data and databases playbook</a>. In code you write, add a comment next to it with the same link.