dialect/sql/schema: add schema dump command (#4296)

* dialect/sql/schema: add schema dump command

* entc/gen/template: drop build flag from generated globalid.go
This commit is contained in:
Jannik Clausen
2025-01-15 16:24:02 +01:00
committed by GitHub
parent 01e21a2c30
commit 05c977357f
7 changed files with 200 additions and 5 deletions

View File

@@ -22,8 +22,6 @@ const Schema = {{ .SchemaSnapshot }}
{{ with $.Header }}{{ . }}{{ else }}// Code generated by ent, DO NOT EDIT.{{ end }}
// +build tools
package internal
const IncrementStarts = {{ .Annotations.IncrementStarts | json | quote }}