Skip to content

Instantly share code, notes, and snippets.

@alisonamerico
Created August 6, 2020 22:47
Show Gist options
  • Save alisonamerico/a11e83a5c63367b3f8aa20cbbe5b912f to your computer and use it in GitHub Desktop.
Save alisonamerico/a11e83a5c63367b3f8aa20cbbe5b912f to your computer and use it in GitHub Desktop.
touristspots_database | 2020-08-06 22:26:59.532 UTC [415] ERROR: null value in column "owner_id" violates not-null constraint
touristspots_database | 2020-08-06 22:26:59.532 UTC [415] DETAIL: Failing row contains (1, , 0101000020E610000000000000000000000000000000000000, , 2020-08-06 22:26:59.350643+00, 2020-08-06 22:26:59.350708+00, null).
touristspots_database | 2020-08-06 22:26:59.532 UTC [415] STATEMENT: INSERT INTO "api_touristspot" ("name", "geographical_location", "category", "owner_id", "created", "modified") VALUES ('', ST_GeogFromWKB('\x0101000020e610000000000000000000000000000000000000'::bytea), '', NULL, '2020-08-06T22:26:59.350643+00:00'::timestamptz, '2020-08-06T22:26:59.350708+00:00'::timestamptz) RETURNING "api_touristspot"."id"
touristspots_database | 2020-08-06 22:27:00.806 UTC [415] ERROR: null value in column "owner_id" violates not-null constraint
touristspots_database | 2020-08-06 22:27:00.806 UTC [415] DETAIL: Failing row contains (2, , 0101000020E610000000000000000000000000000000000000, , 2020-08-06 22:27:00.806114+00, 2020-08-06 22:27:00.806158+00, null).
touristspots_database | 2020-08-06 22:27:00.806 UTC [415] STATEMENT: INSERT INTO "api_touristspot" ("name", "geographical_location", "category", "owner_id", "created", "modified") VALUES ('', ST_GeogFromWKB('\x0101000020e610000000000000000000000000000000000000'::bytea), '', NULL, '2020-08-06T22:27:00.806114+00:00'::timestamptz, '2020-08-06T22:27:00.806158+00:00'::timestamptz) RETURNING "api_touristspot"."id"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment