Hey folks,
Ive got an issue with creating data in my database.
Code looks like the followin:
await db.visitor_information.create({
data: {
ip: singleIp,
datetime: new Date()
}
});
And I get the following error: Query createOnevisitor_information is required to return data, but found no record(s).
I've made sure the singleIp is NOT null.
visitor_information structure is in the image.
Can you try without underscores, but using CamelCase instead? Like: