Skip to content

Commit

Permalink
fix: new Discord usernames
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-ignacio committed Jun 11, 2023
1 parent cc365ea commit 18db0cd
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 41 deletions.
2 changes: 0 additions & 2 deletions gentei/_k8s/kustomization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,3 @@ images:
- name: ghcr.io/member-gentei/gentei
newName: ghcr.io/member-gentei/gentei
newTag: latest
commonAnnotations:
ignacio.io/cloud: "true"
4 changes: 0 additions & 4 deletions gentei/ent/runtime.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions gentei/ent/schema/user.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package schema

import (
"regexp"
"time"

"entgo.io/ent"
Expand All @@ -22,7 +21,6 @@ func (User) Fields() []ent.Field {
field.Uint64("id").Unique().
Comment("Discord user snowflake"),
field.String("full_name").
Match(regexp.MustCompile(`^.+?#\d{4}$`)).
Comment("Username + discriminator"),
field.String("avatar_hash"),
field.Time("last_check").
Expand Down
2 changes: 0 additions & 2 deletions gentei/ent/user/user.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions gentei/ent/user_create.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 0 additions & 26 deletions gentei/ent/user_update.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 18db0cd

Please sign in to comment.