{"id":13879140,"url":"https://github.com/amatsuda/erd","last_synced_at":"2025-05-15T20:03:37.792Z","repository":{"id":3127469,"uuid":"4155277","full_name":"amatsuda/erd","owner":"amatsuda","description":"A Rails engine for drawing your app's ER diagram","archived":false,"fork":false,"pushed_at":"2024-02-28T01:38:58.000Z","size":484,"stargazers_count":333,"open_issues_count":8,"forks_count":41,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-05-10T22:32:49.562Z","etag":null,"topics":["database","database-management","database-migrations","database-schema","engine","erdiagram","rails"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amatsuda.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-04-27T05:08:35.000Z","updated_at":"2025-05-02T21:42:19.000Z","dependencies_parsed_at":"2024-06-18T22:33:00.930Z","dependency_job_id":"a539c06a-f51b-4b03-928e-589fdcf36995","html_url":"https://github.com/amatsuda/erd","commit_stats":{"total_commits":281,"total_committers":11,"mean_commits":"25.545454545454547","dds":0.07117437722419928,"last_synced_commit":"31d51805de36a953aac2efe2d5337d02f874bedb"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amatsuda%2Ferd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amatsuda%2Ferd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amatsuda%2Ferd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amatsuda%2Ferd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amatsuda","download_url":"https://codeload.github.com/amatsuda/erd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254414493,"owners_count":22067271,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","database-management","database-migrations","database-schema","engine","erdiagram","rails"],"created_at":"2024-08-06T08:02:11.026Z","updated_at":"2025-05-15T20:03:35.738Z","avatar_url":"https://github.com/amatsuda.png","language":"Ruby","readme":"# Erd\n\nA Rails engine for drawing your app's ER diagram and operating migrations\n\n\n## Requirements\n\n* Rails 7.0, 6.1, 6.0, 5.2, 5.1, 5.0, 4.2, 4.1, 4.0, 3.2, or 3.1\n\n* Graphviz\n\n\n## Installation\n\nBundle 'erd' gem to your existing Rails app's Gemfile:\n```ruby\ngem 'erd', group: :development\n\n```\n\n\n## Usage\n\nBrowse at your http://localhost:3000/erd\n\n\n## Features\n\n### Show Mode\n\n* Erd draws an ER diagram based on your app's database and models.\n\n* You can drag and arrange the positions of each model.\n\n    * Then you can save the positions to a local file `db/erd_positions.json`, so you can share the diagram between the team members.\n\n### Edit Mode\n\n* You can operate DB schema manipulations such as `add column`, `rename column`, `alter column`, `create model (as well as table)`, and `drop table`.\n\n* Then, Erd generates migration files on the server.\n\n* And you can run each migration on your browser super quickly.\n\n\n## TODO\n\n* Fix buggy JS\n\n* drop column (need to think of the UI)\n\n* stop depending on Graphviz\n\n* tests\n\n* cleaner code (the code is horrible. Please don't read the code, though of course your patches welcome)\n\n\n## Contributing to Erd\n\n* Send me your pull requests!\n\n\n## Team\n\n* [Akira Matsuda][https://github.com/amatsuda]\n* [Teppei Machida][http://github.com/machida] (design)\n\n\n## Copyright\n\nCopyright (c) 2012 Akira Matsuda. See MIT-LICENSE for further details.\n","funding_links":[],"categories":["Ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famatsuda%2Ferd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famatsuda%2Ferd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famatsuda%2Ferd/lists"}