Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed incorrect values for 'The Godfather' in films.3.5.sql file #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

carrola7
Copy link

This file, when imported did not load the correct values to the films table. I got the following error:

adrian@adrian-ThinkPad-X1-Carbon-3rd:~/launch_school/180_sql/lesson_2$ psql -d one_to_many < films3.5.sql
SET
SET
SET
SET
SET
SET
SET
ERROR:  relation "public.films" does not exist
ERROR:  table "films" does not exist
DROP EXTENSION
DROP SCHEMA
CREATE SCHEMA
COMMENT
CREATE EXTENSION
COMMENT
SET
SET
SET
CREATE TABLE
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
ERROR:  new row for relation "films" violates check constraint "director_name"
DETAIL:  Failing row contains (The Godfather, 1972, crime, 175, 3).
INSERT 0 1
INSERT 0 1
ALTER TABLE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant