Skip to content
/ entviz Public

Visualize Ent schemas with beautiful ERDs on atlasgo.cloud

License

Notifications You must be signed in to change notification settings

ariga/entviz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

entviz

Visualize Ent schemas with beautiful ERDs on atlasgo.cloud.

image

Usage

go run -mod=mod ariga.io/entviz --help
Usage of ariga.io/entviz
        go run -mod=mod ariga.io/entviz <Ent schema path>
Flags:
  -dev-url string
        dev database to be used to generate the schema (default "sqlite3://file?mode=memory&cache=shared&_fk=1")
  -global-unique-id
        enable the Global Unique ID feature

Example

Share Ent schema using SQLite dev database.

❯ go run -mod=mod ariga.io/entviz ./ent/schema
Here is a public link to your schema visualization
        https://gh.atlasgo.cloud/explore/c3aa3f24

For MySQL or Postgres check the examples below:

❯ go run -mod=mod ariga.io/entviz -dev-url "mysql://user:pass@localhost:3306/database" ./ent/schema
❯ go run -mod=mod ariga.io/entviz -dev-url "postgres://postgres:pass@localhost:5432/database?sslmode=disable" ./ent/schema

About

Visualize Ent schemas with beautiful ERDs on atlasgo.cloud

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages