© 2026 Hedgehog Software, LLC
// old type, role: userRoles("role").default("STUDENT").notNull(), roles: userRoles("roles").array().$type<UserRole[]>().notNull(),
roles: [] as UserRole[],
Type '("UNKNOWN" | "STUDENT" | "TEACHER" | "SUPERUSER" | "ROOT")[]' is not assignable to type '"UNKNOWN" | "STUDENT" | "TEACHER" | "SUPERUSER" | "ROOT" | undefined'.