lucia auth with user roles
how can i add another field in the numbers tables from the example on github, field would be simply
users_id to attach user to numbers (which they created)end goal: to create new table with user roles.
ref: https://stack.convex.dev/convex-with-lucia
import { defineSchema, defineTable } from "convex/server";
import { authTables } from "@convex-dev/convex-lucia-auth";
import { v } from "convex/values";
export default defineSchema(
{
...authTables({
user: {
email: v.string(),
},
session: {},
}),
numbers: defineTable({
user: v.id(authTables.users._id)value: v.number(),
}),
},
{ schemaValidation: true },
);

