KomaSattarovK
Convex Community3y ago
14 replies
KomaSattarov

Manual image uploads on convex dashboard

Hey there everyone!

Here's my schema:

ItemTable: defineTable({
    name: v.string(),
    category: v.optional(v.string()),
    questionDesc: v.optional(v.string()),
    questionType: v.optional(v.string()),
    chartData: v.optional(v.string()),
  }),


What I am trying to do is to upload a .jpeg / .png file manually from the convex dashboard, and the chartData (see above) should get that image as its value.
How can I achieve this? is giving v.string() as hartData's value wrong? How am I going to link the image to chartData on convex dashboard?

Please, help!
Was this page helpful?