Module: Doterd::DSL
- Defined in:
- lib/doterd.rb
Overview
Default erd dsl
Examples:
# creats tables
table(:t1) {
col_1 Integer, "some comments"
col_2 String, "some comments"
col_3 "String, Not Null", "some comments"
}
table(:t2) {
id
t1_id
}
# create table relations
_1_1 :t1, :t2
Defined Under Namespace
Classes: Table