Documentation
¶
Overview ¶
Command ragit-gen regenerates ragit's migrations and models from the schema declaration in ragitschema.
It is the only thing that writes migrations/ and the *_gen.go files; both are checked in, so a consumer of the library needs neither this command nor sqlb's codegen to build.
go run ./cmd/ragit-gen
A deployment that needs an embedding width other than the default renders its own migration set with -dim and applies it with its own runner. See ragit.Migrate.
Click to show internal directories.
Click to hide internal directories.