Repository navigation
Docs: schema management options and the command line, linked to Weasel and the stateful resource model - #525
Merged
Conversation
…easel and the stateful resource model Database Management opens with the four approaches (lazy AutoCreate, startup via ApplyAllDatabaseChangesOnStartup / AddResourceSetupOnStartup, db-apply or resources setup as a deployment step, db-patch / db-dump scripts, db-assert as the gate) and gains a "From the command line" section: how RunJasperFxCommands enables the db-* commands and resources, what each does, and that a db-apply against a path that does not exist yet creates the file. The Weasel link goes to the docs site. Every db-* and resources mention on the migrations, store options, exporting and getting started pages links to its reference. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Documentation only. Fisher's docs already said
db-applyandresources setupmigrate underAutoCreate.None, but never said how to enable those commands or what the rest of them do. This links every mention to the Weasel reference and the JasperFx stateful resource model, and lays out the options.docs/schema/index.md: Weasel link to the docs site; a table of the four approaches (lazy, startup, deployment step, reviewed SQL) withdb-assertas the gate; a new From the command line section:RunJasperFxCommands(args), the fivedb-*commands andresources list/check/setup, which are Weasel's and which JasperFx's, that the explicit applies migrate underNone, and thatdb-applyagainst a path that does not exist yet creates the file. TheNonetip links the commands.docs/schema/migrations.md: Production migrations now namesdb-dump/db-patchas the command-line forms and thedb-apply/resources setupdeployment-step alternative;db-patchlinked whereWriteMigrationFileAsyncis described.docs/configuration/storeoptions.md,docs/schema/exporting.md,docs/getting-started.md: link the commands and the options.Checked
vitepress build docspasses (no dead internal links); all external links checked live.🤖 Generated with Claude Code