Skip to content

SQL can include invalid type names and duplicate columns #1287

Description

@kasbah

E.g. will happily generate something like this:

CREATE TABLE IF NOT EXISTS "users" (
  "signed_in" timestamp | null NOT NULL
);

Where the | is an invalid character.

Or duplicated columns like:

CREATE TABLE IF NOT EXISTS "users" (
  "id" serial NOT NULL PRIMARY KEY,
  "id" uuid NOT NULL
)

Metadata

Metadata

Assignees

Labels

externalWork on interfacing with other tools

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions