psycopg2.ProgrammingError: relation “matches” does not exist
问题 I'm trying to do a final 'tournament' project in intro to relational databases course by udacity. Here's a link to the project's description: https://docs.google.com/document/d/16IgOm4XprTaKxAa8w02y028oBECOoB1EI1ReddADEeY/pub?embedded=true I've got a file titled tournament.sql in which database 'tournament' and two tables 'matches' and 'players' are defined: DROP DATABASE IF EXISTS tournament; CREATE DATABASE tournament; CREATE TABLE IF NOT EXISTS matches ( id SERIAL PRIMARY KEY, player1