Database schema review
A database schema, or a change to one, drawn as a diagram of its tables and relationships. Comment on a table, a column or a relationship, answer the agent's questions, and approve the schema or send it back.
When an agent uses it
You designed a database schema or a migration, such as new tables, changed columns or new foreign keys, and need a person to approve it before you write or run the migration.
Install it
Tell your agent
Install the Pinrail plugin db-schema, as https://pinrail.dev/plugins/db-schema/ describes.Or run it yourself
git clone https://github.com/forgeplane/pinrail-plugins.git
cd pinrail-plugins
(cd plugins/db-schema && npm ci && npm run build)
pinrail plugins install ./plugins/db-schemaThe plugin is a sample in forgeplane/pinrail-plugins, and installs from a checkout of it. Its view bundles libraries, so it is built first.
What the agent sends and gets back
Its README describes the payload an agent sends and the decision it gets back, with an example of each. With the plugin installed, an agent prints them withpinrail plugins describe db-schema.