#database column does not exists

21 messages · Page 1 of 1 (latest)

distant mountain
#

so i'm making a small project but i think there is something wrong

#

i made all this tables

#

and when i try to upload an image

#

it says

severe creek
#

@distant mountain You need to read the error message. It says exactly what’s wrong.

#

You’re trying to set a value for a column that doesn’t exist.

distant mountain
#

but

#

the databse is made by my teacher

severe creek
#

It says a column doesn’t exist; not a whole table.

distant mountain
#

i mean column

#

yeah i know

#

but

#

my point is

#

is my teachers fault right?

severe creek
#

Why don’t you ask your teacher? 🤷‍♂️

distant mountain
#

because i see him next week so yeah

ripe gull
#

So the DB is made by your teacher and you wrote the code that is referring columns that were never in the DB or what's the game?

severe creek
#

I’m guessing it’s the ol’ been assigned a school project, left it until last minute, now rushing to finish it over the weekend before the Monday morning it’s due, and don’t want to ask the teacher because then it would be apparent they’ve not been doing any work until now.