Search In This Website

Rabu, 08 Oktober 2025

Simple ERD Table Design In AsciiDoctor

1. Open the AsciiDoctor editor.
2. Type this following Asciidoctor code sample about simple ERD/ERM Database Table Design in Asciidoctor editor:

==== ERD ( Entity Relationship Diagram )

:author: AsciiDoctor

:co-author: Tutor Course and After School Course

:revnumber: 1.0

:revdate: June 6th, 2007

:doctype: article

:toc:

:icons:

:lang: en

.Database Table Design: adminacc

[options="header"]

|===

|Field Name      |Type |Size

|Username*      |Text |50

|password      |Text |50

3+|* _Primary Key_ ||

|===


.Database Table Design: record

[options="header"]

|===

|Field Name     |Type |Size

|stud_ID*       |Text |50

|fname          |Text |50

|mname          |Text |50

|lname          |Text |50

|email          |Text |50

3+|* _Primary Key_ ||

|===

 3. Result Asciidoctor code after rendering, similar like this:

ERD ( Entity Relationship Diagram )

Table 1. Database Table Design: adminacc
Field Name Type Size

Username*

Text

50

password

Text

50

* Primary Key
Table 2. Database Table Design: record
Field Name Type Size

stud_ID*

Text

50

fname

Text

50

mname

Text

50

lname

Text

50

email

Text

50

* Primary Key


Notes

3+| is for merge three cells in one row as one cell.


Tidak ada komentar:

Posting Komentar