diff --git a/sql/README.md b/sql/README.md index 6a5bfad77c7932ffc11cb5c4e3ce7a6386a8e533..88aabbb47d48eb2f2d27581704e18bfb02d6752d 100644 --- a/sql/README.md +++ b/sql/README.md @@ -74,6 +74,12 @@ The "section" table includes the titles of the _Digest_'s 432 thematic sections The "bko" table presents information related to the theory about the _Digest_'s compositional structure formulated by Friedrich Bluhme in 1820[^8]and revised by Paul Krüger for Theodor Mommsen's edition of the _Digest_. The theory was accompanied by a tabular summary known as the Bluhme-Krüger Ordo (hence "bko") which was revised and expanded by Tony Honoré.[^9] +#### 2.7 SQL schema graph + +The graph below is a visual representation of the tables in the database. Each table includes an "id" as primary key (PK) and one or more foreign keys (FK) which point to the "id" columnn of a different table. It is by foreign keys that the tables are chained together in many-to-one relationships. The entity boxes for the tables include the names and datatypes of the columns where "tinyint" and "smallint" are two types of integer, "varchar" is a limited length, while "text" is an unlimited length text type. + + + ### 3. Sample SQL queries [Back to Table of contents](#0-table-of-contents)