{"id":13515011,"url":"https://github.com/holistics/dbml","last_synced_at":"2025-05-15T00:00:52.300Z","repository":{"id":37444786,"uuid":"177372680","full_name":"holistics/dbml","owner":"holistics","description":"Database Markup Language (DBML), designed to define and document database structures","archived":false,"fork":false,"pushed_at":"2025-05-07T04:00:03.000Z","size":18624,"stargazers_count":3156,"open_issues_count":109,"forks_count":189,"subscribers_count":39,"default_branch":"master","last_synced_at":"2025-05-07T23:35:05.368Z","etag":null,"topics":["dbx"],"latest_commit_sha":null,"homepage":"https://dbml.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/holistics.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-03-24T05:00:09.000Z","updated_at":"2025-05-07T23:26:49.000Z","dependencies_parsed_at":"2024-01-07T12:53:13.594Z","dependency_job_id":"8ef5ed57-cc14-4f80-bbcd-27c3c6c971bb","html_url":"https://github.com/holistics/dbml","commit_stats":{"total_commits":1145,"total_committers":45,"mean_commits":"25.444444444444443","dds":0.8078602620087336,"last_synced_commit":"d63ebd60bc967a794cd093ecb712b3a15a149783"},"previous_names":[],"tags_count":97,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holistics%2Fdbml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holistics%2Fdbml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holistics%2Fdbml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holistics%2Fdbml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/holistics","download_url":"https://codeload.github.com/holistics/dbml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253134821,"owners_count":21859507,"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":["dbx"],"created_at":"2024-08-01T05:01:05.347Z","updated_at":"2025-05-15T00:00:50.131Z","avatar_url":"https://github.com/holistics.png","language":"JavaScript","readme":"# DBML - Database Markup Language\n\n\u003cdiv align=\"center\"\u003e\n\n[![Build Status](https://img.shields.io/github/actions/workflow/status/holistics/dbml/test.yml?label=CI\u0026logo=github\u0026style=flat-square)](https://github.com/holistics/dbml/actions/workflows/test.yml)\n[![npm @dbml/core](https://img.shields.io/npm/v/@dbml/core?style=flat-square\u0026label=npm%20@dbml/core)](https://www.npmjs.org/package/@dbml/core)\n[![npm @dbml/core downloads](https://img.shields.io/npm/dm/@dbml/core.svg?style=flat-square)](https://npm-stat.com/charts.html?package=@dbml/core)\n[![npm @dbml/cli](https://img.shields.io/npm/v/@dbml/cli?style=flat-square\u0026label=npm%20@dbml/cli)](https://www.npmjs.org/package/@dbml/cli)\n[![npm @dbml/cli downloads](https://img.shields.io/npm/dm/@dbml/cli.svg?style=flat-square)](https://npm-stat.com/charts.html?package=@dbml/cli)\n\n\u003c/div\u003e\nDBML (database markup language) is a simple, readable DSL language designed to define database structures.\n\nFor more information, please check out [DBML homepage](https://dbml.dbdiagram.io)\n\n## Benefits\n\n- It is simple, flexible and highly human-readable\n- It is database agnostic, focusing on the essential database structure definition without worrying about the detailed syntaxes of each database\n- Comes with a free, simple database visualiser at [dbdiagram.io](https://dbdiagram.io)\n- Also comes with a free database documentation app at [dbdocs.io](https://dbdocs.io)\n\n## Example\n\nExample of a database definition of a simple blogging site:\n\n    Table users {\n        id integer\n        username varchar\n        role varchar\n        created_at timestamp\n    }\n\n    Table posts {\n        id integer [primary key]\n        title varchar\n        body text [note: 'Content of the post']\n        user_id integer\n        created_at timestamp\n    }\n\n    Ref: posts.user_id \u003e users.id // many-to-one\n\n## Community Contributions\n\n* [Emacs Mode for DBML by ccod](https://github.com/ccod/dbd-mode)\n* [Vim Plugin for DBML by jidn](https://github.com/jidn/vim-dbml)\n* [VSCode Plugin for DBML by duynvu](https://marketplace.visualstudio.com/items?itemName=duynvu.dbml-language)\n* [Python parser for DBML by Vanderhoof](https://github.com/Vanderhoof/PyDBML)\n* [FloorPlan: Android's Room to DBML by julioz](https://github.com/julioz/FloorPlan)\n* [Go parser for DBML by duythinht](https://github.com/duythinht/dbml-go)\n* [DbmlForDjango: Converter between Django models.py and DBML](https://github.com/hamedsj/DbmlForDjango)\n* [parseServerSchema2dbml: Converter between ParseServer MongoDB \\_SCHEMA collection and DBML by stepanic](https://github.com/stepanic/parse-server-SCHEMA-to-DBML)\n* [dbml-renderer: A DBML CLI renderer](https://github.com/softwaretechnik-berlin/dbml-renderer)\n* [dbml-parser: A DBML parser written on PHP8 by Butschster](https://github.com/butschster/dbml-parser)\n* [Kacher: Laravel's Database Schemas to DBML by Arsanandha Aphisitworachorch](https://github.com/aphisitworachorch/kacher)\n* [d365fo-entity-schema: Generate DBML from Dynamics 365 Finance and Operations](https://github.com/noakesey/d365fo-entity-schema)\n* [Treesitter for DBML](https://github.com/dynamotn/tree-sitter-dbml)\n* [DB2Code: Generate DBML from Maven](https://github.com/alberlau/DB2Code)\n* [dbml-java: A DBML parser written on Java 17 by Nils Wende](https://github.com/nilswende/dbml-java)\n* [SchemaToDbml: A gem that generates DBML from Rails schema.rb by Ricardo Ribeiro](https://github.com/ricardojcribeiro/schema_to_dbml)\n* [Snowflake DBML Generator by Ryan Rozich](https://github.com/ryanrozich/snowflake-dbml-generator)\n* [prisma-dbml-generator: Generate DBML schema from Prisma Schema by Marc Stammerjohann](https://github.com/notiz-dev/prisma-dbml-generator)\n* [C# parser for Dbml by Niels Bosma](https://github.com/Ivy-Interactive/Ivy.Dbml.Parser)\n","funding_links":[],"categories":["JavaScript","Schema","others"],"sub_categories":["Documentations"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholistics%2Fdbml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fholistics%2Fdbml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholistics%2Fdbml/lists"}