A catalog that writes itself and stays right
Every table becomes a versioned contract in your own git repository. Agents draft the descriptions and flag personal data, and you approve them in a pull request. When a schema changes, the contract gets a new version, and the people who subscribe to it hear about it. When a migration would break something, the pull request gets a comment before it merges.
// Code generated by Octod. DO NOT EDIT.
// Contract acme.billing_db.invoices, version 2.0.0.
// Source billing_db, table public.invoices.
syntax = "proto3";
package acme.billing_db.invoices.v2;
// One row per invoice issued to a customer.
message Invoices {
reserved 7;
reserved "memo";
// Invoice identifier assigned by the billing service.
int64 id = 1 [(octod.column) = {native_type: "bigint", not_null: true}];
// Customer who owes this invoice. Same entity as acme.app_db.users.id.
int64 customer_id = 2 [(octod.column) = {
native_type: "bigint"
not_null: true
same_entity_as: ["acme.app_db.users.id"]
}];
}