Hapify - DBML Schema
This package generate a DBML Schema from the hapify modelisation. It can be used
to visualize the database schema in https://dbdiagram.io
.
Installation
npm install @trxn/hapify-templates-dbml --save-dev
Usage
In your package.json
:
{
"name": "my-library",
"version": "1.0.0",
"hapify": { "extends": ["@trxn/hapify-templates-dbml"] }
}
If you would like to extend or modify these properties, create a .hapifyrc.js
file in your projects root directory and export your desired modifications.
module.exports = {
extends: ['hapify-templates-dbml'],
};
Or you can create a .hapifyrc.json
file in your projects root directory.
{ "extends": ["@trxn/hapify-templates-dbml"] }