Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Commit ee9989b

Browse files
author
Noah Hanjun Lee
authored
Add 'approval' enum to avoid the constraint (#210)
1 parent 3e4910e commit ee9989b

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

Diff for: ent/event/event.go

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: ent/migrate/schema.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: ent/schema/event.go

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ func (Event) Fields() []ent.Field {
1919
Values(
2020
"deployment",
2121
"review",
22+
// Deprecated values:
23+
"approval",
2224
),
2325
field.Enum("type").
2426
Values(

0 commit comments

Comments
 (0)