feat(models): rename ModelPublicUser to ModelPublicUsers and update references
* Update user-related models to use plural naming for consistency * Add relationships to ModelPublicUsers in related models * Adjust database migration and schema to reflect changes * Remove deprecated ModelPublicUser
This commit is contained in:
@@ -32,7 +32,7 @@ func SeedData(ctx context.Context) error {
|
||||
}
|
||||
|
||||
now := time.Now()
|
||||
adminUser := &models.ModelPublicUser{
|
||||
adminUser := &models.ModelPublicUsers{
|
||||
ID: resolvespec_common.NewSqlString(uuid.New().String()),
|
||||
Username: resolvespec_common.NewSqlString("admin"),
|
||||
Email: resolvespec_common.NewSqlString("admin@whatshooked.local"),
|
||||
|
||||
Reference in New Issue
Block a user