Skip to content

linden/schemadiagram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Schema Diagram

Getting Started

  1. download schemadiagram
go install github.com/linden/schemadiagram@latest
  1. dump your schema to JSON.
psql postgres://postgres:postgres@localhost:5432/postgres \
	--command="SELECT row_to_json(result) FROM (SELECT table_name, table_schema, column_name, data_type FROM information_schema.columns) AS result;" \
	--output="dump.json" \
	--quiet \
	--no-align \
	--tuples-only
  1. create your SVGs
schemadiagram
  1. drag and drop them to figma.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Languages