Skip to content
This repository was archived by the owner on Apr 11, 2023. It is now read-only.

Commit 0ad4a89

Browse files
author
Kate Döen
committed
Remove default template from config file generated by init
1 parent ad726c9 commit 0ad4a89

File tree

3 files changed

+0
-18
lines changed

3 files changed

+0
-18
lines changed

example/dbversion/version.go

Lines changed: 0 additions & 4 deletions
This file was deleted.

example/trek.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,3 @@ db_name: bar
33
db_users:
44
- alice
55
- bob
6-
templates:
7-
- path: dbversion/version.go
8-
content: |
9-
package dbversion
10-
11-
// LatestVersion is the latest version for the db migrations.
12-
const LatestVersion = {{.NewVersion}}

internal/embed/trek.yaml.tmpl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,3 @@ model_name: {{.model_name}}
22
db_name: {{.db_name}}
33
db_users:{{range .db_users}}
44
- {{.}}{{end}}
5-
templates:
6-
- path: dbversion/version.go
7-
content: |
8-
package dbversion
9-
10-
// LatestVersion is the latest version for the db migrations.
11-
const LatestVersion = {{`{{.NewVersion}}`}}

0 commit comments

Comments
 (0)