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

Missing customer_id in the diagram #62

Closed
vadim-tropashko opened this issue Mar 25, 2024 · 0 comments
Closed

Missing customer_id in the diagram #62

vadim-tropashko opened this issue Mar 25, 2024 · 0 comments
Assignees

Comments

@vadim-tropashko
Copy link
Member

vadim-tropashko commented Mar 25, 2024

Input:

customers
    name vc40
    customer_addresses /cascade
        street vc40
        city vc40
        state vc2
        zip_code vc10

orders
    total num
    customer /fk customers

products
    name vc40

order_lines
    order_id /fk orders
    product /fk products
    quantity num

Output:

{
  name: "customer_addresses",
  schema: null,
  columns: [
    {
      name: "id",
      datatype: "number",
    },
    {
      name: "street",
      datatype: "varchar2(40)",
    },
    {
      name: "city",
      datatype: "varchar2(40)",
    },
    {
      name: "state",
      datatype: "varchar2(2)",
    },
    {
      name: "zip_code",
      datatype: "varchar2(10)",
    },
  ],
}
@vadim-tropashko vadim-tropashko self-assigned this Mar 25, 2024
vadim-tropashko added a commit that referenced this issue Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant