Skip to content

DuckDB support tries to make primary columns with type SERIAL, then crashes #88

@tim-band

Description

@tim-band

orm.yaml:

tables:
  mytable:
    mycolumn:
      primary: true
      type: INTEGER

Then datafaker create-tables:

ProgrammingError: (_duckbd.CatalogException) Catalog Error: Type with name SERIAL does not exist!
Did you mean "JSON"?
[SQL:
CREATE TABLE "mytable" (
        "mycolumn" SERIAL,
        PRIMARY KEY ("mycolumn")
)
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions