Socket
Book a DemoInstallSign in
Socket

erdb

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

erdb

1.1.2
bundlerRubygems
Version published
Maintainers
1
Created
Source

ERDB Gem Version Ruby Style Guide

ERDB is a Ruby Gem for generation Entity-Relationship Diagrams (ERD). Currently it support sqlite3, mysql2 and postgresql database. ERDB is just a wrapper to automate the process of generating ERD using -

Demo

erdb

Requirements

  • Ruby 2.7.0 or higher
  • Chrome Browser.

Installation

Use the package manager gem to install ERDB.

gem install erdb

Important note for Linux users: You need to install the xsel or the xclip command-line program. On debian and ubuntu, xsel can be installed with: sudo apt-get install xsel Visit clipboard for more details about clipboard.

Adapters

For mysql2 and postgresql database, you have to install the required gems.

gem install mysql2
gem install pg

Usage

After install ERDB, you can use erdb command to generate ER Diagram.

erdb

It use chrome browser by default to genereate ERD. You can use other browser by passing --browser option.

See more options by running erdb --help

Why I created this gem?

I know there are many tools available for generating ERD, But I wanted to create a tool that is easy to use and can be used with any database. And I don't want to repeat the same steps again and again for generating ERD. -_-

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under MIT license. View LICENSE for more details.

FAQs

Package last updated on 22 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.