fix: docs and required field

This commit is contained in:
ericprd
2025-02-27 10:27:57 +08:00
parent 0317ba04d9
commit 7b367f655e
5 changed files with 21 additions and 4 deletions
+1
View File
@@ -28,6 +28,7 @@ func main() {
var temp subscribeplandomain.SubscribePlan
if err := db.Where("code = ?", "basic").First(&temp).Error; err != nil {
log.Print("seeding basic subscribe plan")
db.Create(&subscribeplandomain.SubscribePlan{
ID: uuid.NewString(),
Code: "basic",