Unable to run schema Validation
Hello
I am getting this error
and I just updated the user schema
What am I doing wrong? someone help thanks
I am getting this error
✖ Error: Unable to run schema validation on https://necessary-tern-577.convex.cloud
✖ TypeError: fetch failed
Failed due to network error, retrying in 1.19s...
Retrying request (attempt 6/6)...
Retrying request (attempt 3/6)...
⠇ Checking for index or schema changes...
Retrying request (attempt 4/6)...
⠸ Checking for index or schema changes...
Retrying request (attempt 5/6)...
⠇ Checking for index or schema changes...
Retrying request (attempt 6/6)...
✖ Error: Unable to run schema validation on https://necessary-tern-577.convex.cloud
✖ TypeError: fetch failed✖ Error: Unable to run schema validation on https://necessary-tern-577.convex.cloud
✖ TypeError: fetch failed
Failed due to network error, retrying in 1.19s...
Retrying request (attempt 6/6)...
Retrying request (attempt 3/6)...
⠇ Checking for index or schema changes...
Retrying request (attempt 4/6)...
⠸ Checking for index or schema changes...
Retrying request (attempt 5/6)...
⠇ Checking for index or schema changes...
Retrying request (attempt 6/6)...
✖ Error: Unable to run schema validation on https://necessary-tern-577.convex.cloud
✖ TypeError: fetch failedand I just updated the user schema
export default defineSchema({
...authTables,
users: defineTable({
name: v.optional(v.string()),
image: v.optional(v.string()),
email: v.optional(v.string()),
emailVerificationTime: v.optional(v.number()),
phone: v.optional(v.string()),
phoneVerificationTime: v.optional(v.number()),
isAnonymous: v.optional(v.boolean()),
role: v.optional(v.string()),
})
.index("email", ["email"])
.index("phone", ["phone"]),
numbers: defineTable({
value: v.number(),
}),
});export default defineSchema({
...authTables,
users: defineTable({
name: v.optional(v.string()),
image: v.optional(v.string()),
email: v.optional(v.string()),
emailVerificationTime: v.optional(v.number()),
phone: v.optional(v.string()),
phoneVerificationTime: v.optional(v.number()),
isAnonymous: v.optional(v.boolean()),
role: v.optional(v.string()),
})
.index("email", ["email"])
.index("phone", ["phone"]),
numbers: defineTable({
value: v.number(),
}),
});What am I doing wrong? someone help thanks
