这是indexloc提供的服务,不要输入任何密码
Skip to content

ERD tool: ERD to SQL generator is missing columns in first table #6920

@kshefchek

Description

@kshefchek

Please note that security bugs or issues should be reported to security@pgadmin.org.

Describe the bug

When I create an ERD and use the Generate SQL tool, the first table in the file is missing columns. For example, I have a table called "table_a" with columns foo, bar, baz, with a primary key foo, I just see

CREATE TABLE IF NOT EXISTS table_a
(

    PRIMARY KEY (foo)
);

The rest of the SQL looks correct.

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. See the error

Expected behavior

CREATE TABLE IF NOT EXISTS table_a
(
    foo integer,
    bar character varying(255),
    baz character varying(255),
    PRIMARY KEY (foo)
);

Error message

N/A

Screenshots

N/A

Desktop (please complete the following information):

  • Version: 7.8
  • Application Mode: Desktop
  • NW.js Version: 0.77.0
  • Browser: Chromium 114.0.5735.91
  • Operating System: macOS-13.6-arm64-arm-64bit

Additional context

N/A

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions