fix: update seeder
This commit is contained in:
parent
ce341dbc13
commit
ce17e9dc73
@ -41,9 +41,12 @@ func main() {
|
||||
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",
|
||||
Name: "Basic",
|
||||
ID: uuid.NewString(),
|
||||
Code: "basic",
|
||||
Name: "Basic",
|
||||
Length: 0,
|
||||
Price: 0,
|
||||
Status: 1,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user