Skip to content

Issues in converting postgres schema #2

Description

@PJijin

Remove schema name from the generated model name.

Example pgsql

CREATE TABLE "public"."activity" (
    "id" int8 NOT NULL DEFAULT nextval('activity_id_seq'::regclass),
    "userId" int4 NOT NULL,
    "message" text NOT NULL,
    "type" int4 NOT NULL,
    "created_at" timestamptz NOT NULL DEFAULT now(),
    PRIMARY KEY ("id")
);

Remove public from generated Prisma schema.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions