I keep getting this error message “ERROR: duplicate key value violates unique constraint “sounds_filename_key”
DETAIL: Key (filename)=(yippee.wav) already exists.” When I put the correct command into the terminal.
Your code so far
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Challenge Information:
Learn Relational Databases by Building a Mario Database - Build a Mario Database
I am getting the same error message for this prompt as well. I checked both actions and characters tables to make sure that I had the correct IDs. I then put in the correct command and I got the same message. Thanks for your help!
I understand. However, when I put the command in the terminal, it would not work, if I put the command the following day it would then work. Does Github perform maintenance during the night or evenings? Do you think that would affect the terminal’s response to my commands? Thanks.
Without seeing the input and the requirements for the step, it it not possible to say.
However, do make sure to end PostgresSQL commands with a semi colon,
otherwise the previous command is still open - and will remain open until the command ends with a semi colon.