Skip to content

Commit

Permalink
schema/dm: make views and relations optional
Browse files Browse the repository at this point in the history
Signed-off-by: Tony Worm <tony@hofstadter.io>
  • Loading branch information
verdverm committed Dec 29, 2021
1 parent 9c9b272 commit 579bda9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions schema/dm/datamodel.cue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import "strings"
Models: [...#Model]

// Custom views not tied to a specific model
Views: [...#View]
Views?: [...#View]

// History of the data models
// Should be populated by hof from .hof/dm
Expand All @@ -32,7 +32,7 @@ import "strings"

Fields: #Fields

Relations: #Relations
Relations?: #Relations

...
}
Expand Down

0 comments on commit 579bda9

Please sign in to comment.