From 4d9a09d959e4e67284daee9271b5a105201bb998 Mon Sep 17 00:00:00 2001 From: Tony Worm Date: Thu, 10 Aug 2023 23:44:07 -0400 Subject: [PATCH] hof/docs: more typography on headings --- .../changelogs/v0.6.x/upgrading-0.6.7-to-0.6.8.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/content/changelogs/v0.6.x/upgrading-0.6.7-to-0.6.8.md b/docs/content/changelogs/v0.6.x/upgrading-0.6.7-to-0.6.8.md index 8d50a76aa..ef474720a 100644 --- a/docs/content/changelogs/v0.6.x/upgrading-0.6.7-to-0.6.8.md +++ b/docs/content/changelogs/v0.6.x/upgrading-0.6.7-to-0.6.8.md @@ -74,8 +74,9 @@ You now only need one loop to process all model fields, rather than before where you needed a loop each for `Fields` and `Relations`. You can still get each separately by filtering the `Fields` on the `Relation` sub-field. +
-Before (old way) [schema](https://github.com/hofstadter-io/hof/blob/v0.6.7/schema/dm/dm.cue): +#### Before ([old schema](https://github.com/hofstadter-io/hof/blob/v0.6.7/schema/dm/dm.cue)) ```text #MyModels: dm.#Datamodel & { @@ -108,15 +109,17 @@ Before (old way) [schema](https://github.com/hofstadter-io/hof/blob/v0.6.7/schem } ``` +
-Changes: +#### Changes - `dm.#Datamodel` -> `sql.Datamodel` - `Model.Relations.[name].Reln` -> `Model.Fields.[name].Relation.Type` - `Model.Relations.[name].Type` -> `Model.Fields.[name].Relation.Other` +
-After (new way) [schema](https://github.com/hofstadter-io/hof/blob/v0.6.8/schema/dm/sql/dm.cue): +#### After ([new schema](https://github.com/hofstadter-io/hof/blob/v0.6.8/schema/dm/sql/dm.cue)) ```text MyModels: sql.Datamodel & {