{"id":14069222,"url":"https://github.com/caffkane/dbml_parser","last_synced_at":"2025-07-30T05:31:46.562Z","repository":{"id":100677061,"uuid":"302744561","full_name":"caffkane/dbml_parser","owner":"caffkane","description":"Parse DBML files with ease (Database Markup Language).","archived":false,"fork":false,"pushed_at":"2020-10-09T20:49:58.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-13T07:15:43.907Z","etag":null,"topics":["dbml","hacktoberfest","rails","ruby"],"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/caffkane.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-10-09T20:17:20.000Z","updated_at":"2022-03-01T16:06:47.000Z","dependencies_parsed_at":"2023-05-16T18:45:43.457Z","dependency_job_id":null,"html_url":"https://github.com/caffkane/dbml_parser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caffkane%2Fdbml_parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caffkane%2Fdbml_parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caffkane%2Fdbml_parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caffkane%2Fdbml_parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caffkane","download_url":"https://codeload.github.com/caffkane/dbml_parser/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228092181,"owners_count":17868149,"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":["dbml","hacktoberfest","rails","ruby"],"created_at":"2024-08-13T07:06:43.647Z","updated_at":"2024-12-04T10:31:05.905Z","avatar_url":"https://github.com/caffkane.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# DbmlParser\nDBML Parser is a gem for parsing [Database Markup Language (DBML)](https://www.dbml.org/).\nIt ingests a .dbml file in the given directory (default root dir), and returns a schema.rb based on that file. It can also suggest tables that needed to be created that are not currently in your schema.rb. It will generate those migrations if needed.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'dbml_parser'\n```\n\nAnd then execute:\n\n    $ bundle install\n\nOr install it yourself as:\n\n    $ gem install dbml_parser\n\n## Usage\n\n```Ruby\n# To generate a schema.rb\nbundle exec rails generate dbml:schema\n\n# To generate missing migrations\nbundle exec rails generate dbml:migrations\n\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/dbml_parser. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/dbml_parser/blob/master/CODE_OF_CONDUCT.md).\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the DbmlParser project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/dbml_parser/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaffkane%2Fdbml_parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaffkane%2Fdbml_parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaffkane%2Fdbml_parser/lists"}