I am trying to insert a row into a table named "Requests" through supabase
const { data, error } = await client
.from('Requests')
.insert( [
{ Name: 'Xyz', Email: 'Xyz@gmail.com', Type: 'ABC', Description: 'test test 123' },
])
console.log(data, error)
CREATE TABLE Requests (
Rid bigint,
Name varchar,
Email varchar,
Type varchar,
Description varchar
)
but when the code is executed it gives this error:
{
code: '42703',
details: null,
hint: null,
message: 'column "Description" of relation "Requests" does not exist'
}
What am I doing incorrectly?