Compare commits

...

2 Commits

Author SHA1 Message Date
tx7do
5717d4aefe feat: entgo mixin. 2023-10-31 04:46:44 +08:00
tx7do
62142a6836 feat: entgo mixin. 2023-10-31 04:46:17 +08:00
2 changed files with 2 additions and 1 deletions

View File

@@ -29,6 +29,7 @@ func (SwitchStatus) Fields() []ent.Field {
// dialect.MySQL: "switch_status", // dialect.MySQL: "switch_status",
// dialect.Postgres: "switch_status", // dialect.Postgres: "switch_status",
//}). //}).
Default("ON").
Values( Values(
"OFF", "OFF",
"ON", "ON",

View File

@@ -1,6 +1,6 @@
git tag v1.1.3 git tag v1.1.3
git tag bank_card/v1.1.0 git tag bank_card/v1.1.0
git tag entgo/v1.1.3 git tag entgo/v1.1.4
git tag geoip/v1.1.0 git tag geoip/v1.1.0
git push origin --tags git push origin --tags