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

The erDiagram. Entity starts with underscore ("_") #4775

Closed
kurotych opened this issue Aug 26, 2023 · 1 comment · Fixed by #4776
Closed

The erDiagram. Entity starts with underscore ("_") #4775

kurotych opened this issue Aug 26, 2023 · 1 comment · Fixed by #4776
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@kurotych
Copy link

kurotych commented Aug 26, 2023

Description

I've tried to represent my psql database as erDiagram.
But it didn't support entities whose names start with "_".
But the PSQL allows table name that starts with "_"

Steps to reproduce

Submit the Code Sample to https://mermaid.live

Screenshots

No response

Code Sample

erDiagram
_customer_order {
    bigint id PK
    bigint customer_id FK
    text shipping_address 
    text delivery_method 
    timestamp_with_time_zone ordered_at 
    numeric total_tax_amount 
    numeric total_price 
    text payment_method 
}

Setup

  • Mermaid version:
  • Browser and Version: [Chrome, Edge, Firefox]

Suggested Solutions

No response

Additional Context

No response

@kurotych kurotych added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Aug 26, 2023
@sidharthv96
Copy link
Member

cc @tomperr who has added a new feature to ER recently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants