GithubHelp home page GithubHelp logo

prisma-uml's People

Contributors

dependabot[bot] avatar emyann avatar michaelgmcd avatar snyk-bot avatar thomaschaaf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

prisma-uml's Issues

Export to PNG or JPG crops image

I have a issue where the generated PNG or JPG image does not display the full schema, as the image seems to be cropped. See to the right of below image.

npx prisma-uml src/app/prisma/schema/schema.prisma -o png -f src/app/prisma/schema/schema.png

image

Thanks in advance!

Make snyk a devDependency

Currently snyk is a dependency which causes our project to download it. However I don't see a reason why it should do that. I noticed because snyk is a 50mb dependency.

Feature request: Support @map and @@map for mapping column and table names

First off, amazing library, thank you!

Prisma allows you to map column names, for example, if you wanted to stick to JavaScript naming conventions (as camelCase) in the code, and database naming conventions in the database (as snake_case), it adds @map("my_column_name").

It also has a @@map("table_name") for the table name should you not want to use the default PascalCase naming convention in the database.

For example, here is an example schema:

model PrismaUml {
  isAwesome  Boolean  @default(true) @map("is_awesome")

  @@map(name: "prisma_uml")
}

The Plant UML that gets generated uses the field isAwesome but it would be great if it could use the database field is_awesome, either by default or as a configuration option.

Thanks again for this great tool! Very quick and easy to get going with.

Dependencies update

Hi,
Is there any near future updates on the security PRs?

Let me know, if I can help with getting those updated.
And great plugin, thanks for the great work! :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.