Single place to define schema for all tables in dbdiagram?

オープン
#658 コメント 0 件 リアクション 1 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@huydo862003 がすでに取り組んでいます。

2025年11月6日 から。

評価

この issue はまだ評価されていません。

説明

enhancement

Is there a way to define a schema only once for the entire dbml document?

Something like:

Schema ecommerce {
  Table users {
    id int [pk]
    name varchar
  }
  Note: 'ecommerce schema'
}

instead of

Table ecommerce.users {
  id int [pk]
  name varchar
}

I see that this was considered in this proposal: https://github.com/holistics/dbml/issues/50 but not sure if this was ever implemented.

Being able to define schema once leads to fewer error and a more concise way to change schema name for the dbml document.

主要言語
JavaScript
スター
3.7k
フォーク
233
平均マージ
2日 4時間
マージ済み PR(30日)
23

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

holistics/dbml のほかの issue

holistics/dbml の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。