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

#33: Configure psycopg2 to support UUID objects #49

Merged
merged 3 commits into from
Nov 29, 2022

Conversation

BuddhaOhneHals
Copy link

@BuddhaOhneHals BuddhaOhneHals commented Nov 29, 2022

A fix for #33. See https://www.psycopg.org/docs/extras.html#uuid-data-type for more information.

Tested with following setup:

tables:
  - issue33:
      fields:
        - name:
            provider:
              name: fake.name
create table issue33
(
    id uuid not null constraint issue33_pk primary key,
    name       varchar(255) not null
);

@BuddhaOhneHals BuddhaOhneHals changed the title Configure psycopg2 to support UUID objects #33: Configure psycopg2 to support UUID objects Nov 29, 2022
@BuddhaOhneHals BuddhaOhneHals linked an issue Nov 29, 2022 that may be closed by this pull request
@hkage
Copy link
Contributor

hkage commented Nov 29, 2022

LGTM 👍

@hkage hkage merged commit 949c5c4 into development Nov 29, 2022
@hkage hkage deleted the bugfix/uuid-fields branch December 6, 2022 09:13
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.

ValueError when copying a table with id of type uuid4
2 participants