mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Merge branch '332-changie-schema-prompt' into 'master'
Add a prompt to signal a schema change in the db Closes #332 See merge request Chill-Projet/chill-bundles!772
This commit is contained in:
commit
fc27c73dab
@ -7,15 +7,29 @@ versionFormat: '## {{.Version}} - {{.Time.Format "2006-01-02"}}'
|
|||||||
kindFormat: '### {{.Kind}}'
|
kindFormat: '### {{.Kind}}'
|
||||||
# Note: it is possible to add a `.custom.Long` text manually into the yaml file produced by `changie new`. This will add a long description.
|
# Note: it is possible to add a `.custom.Long` text manually into the yaml file produced by `changie new`. This will add a long description.
|
||||||
changeFormat: >-
|
changeFormat: >-
|
||||||
* {{ if not (eq .Custom.Issue "") }}([#{{ .Custom.Issue }}](https://gitlab.com/Chill-Projet/chill-bundles/-/issues/{{ .Custom.Issue }})) {{ end }}{{.Body}} {{ if and (.Custom.Long) (not (eq .Custom.Long "")) }}
|
* {{ if not (eq .Custom.Issue "") }}([#{{ .Custom.Issue }}](https://gitlab.com/Chill-Projet/chill-bundles/-/issues/{{ .Custom.Issue }})) {{ end }}{{ .Body }} {{ if and .Custom.SchemaChange (ne .Custom.SchemaChange "No schema change") }}
|
||||||
|
|
||||||
|
**Schema Change**: {{ .Custom.SchemaChange }}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{ if and (.Custom.Long) (not (eq .Custom.Long "")) }}{{ .Custom.Long }}{{ end }}
|
||||||
|
|
||||||
{{ .Custom.Long }}{{ end }}
|
|
||||||
custom:
|
custom:
|
||||||
|
- key: SchemaChange
|
||||||
|
label: Is a schema change required?
|
||||||
|
optional: false
|
||||||
|
type: enum
|
||||||
|
enumOptions:
|
||||||
|
- "No schema change"
|
||||||
|
- "Add columns or tables"
|
||||||
|
- "Drop or rename table or columns, or enforce new constraint that must be manually fixed"
|
||||||
|
|
||||||
- key: Issue
|
- key: Issue
|
||||||
label: Issue number (on chill-bundles repository) (optional)
|
label: Issue number (on chill-bundles repository) (optional)
|
||||||
optional: true
|
optional: true
|
||||||
type: int
|
type: int
|
||||||
minInt: 1
|
minInt: 1
|
||||||
|
|
||||||
body:
|
body:
|
||||||
# allow multiline messages
|
# allow multiline messages
|
||||||
block: true
|
block: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user