Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request juju#17125 from SimonRichardson/db-local-repl
juju#17125 When debugging or wanting to play with the db schema, it's handy to be able to apply the db to a given dqlite instance. The following does this for controllers and models. For experimenting with the domain model this is really useful. I've removed the infer schema, as I don't believe we need this anymore. It's not maintained and it served it purpose. If we do want it, we can use the older branches to get it. <!-- Why this change is needed and what it does. --> ## Checklist <!-- If an item is not applicable, use `~strikethrough~`. --> - [x] Code style: imports ordered, good names, simple structure, etc - [x] Comments saying why design decisions were made - [x] Go unit tests, with comments saying what you're testing ## QA steps ```sh $ go run ./scripts/dqlite/cmd/main.go --db=controller $ go run ./scripts/dqlite/cmd/main.go --db=model ``` ## Links **Jira card:** JUJU-
- Loading branch information