diff --git a/doc/schema.dot b/doc/schema.dot new file mode 100644 index 0000000..2157596 --- /dev/null +++ b/doc/schema.dot @@ -0,0 +1,87 @@ +digraph "$schema" { + rankdir=RL + node [ shape=plaintext ] + archived_versions [ label=< + + + + + + + + +
archived_versions
idINT(11)
volumeINT(11)
versionINT(11)
fileINT(11)
offsetBIGINT(20)
>] + archived_versions:volume_out -> volumes:id_in + archived_versions:version_out -> versions2:id_in + archived_versions:file_out -> files:id_in + files [ label=< + + + + + + +
files
idINT(11)
pathTEXT(65535)
filesetINT(11)
>] + files:fileset_out -> filesets:id_in + filesets [ label=< + + + + + + + + + +
filesets
idINT(11)
hostVARCHAR(255)
dirTEXT(65535)
optionsTEXT(65535)
pidINT(11)
activeTINYINT(4)
>] + instances [ label=< + + + + + + + + + + +
instances
idBIGINT(20)
fileINT(11)
file_idVARCHAR(255)
dateINT(11)
onlineTINYINT(1)
sessionINT(11)
versionINT(11)
>] + instances:file_out -> files:id_in + instances:session_out -> sessions:id_in + instances:version_out -> versions2:id_in + sessions [ label=< + + + + + + + +
sessions
idINT(11)
start_dateINT(11)
end_dateINT(11)
prefixVARCHAR(255)
>] + versions2 [ label=< + + + + + + + + + + + + + + +
versions2
idINT(11)
file_typeCHAR(1)
file_sizeBIGINT(20)
file_mtimeINT(11)
file_ownerVARCHAR(255)
file_groupVARCHAR(255)
file_aclVARCHAR(255)
file_unix_bitsSET(20)
file_rdevINT(11)
checksumVARCHAR(255)
file_linktargetTEXT(65535)
>] + volumes [ label=< + + + + + + + + +
volumes
idINT(11)
labelVARCHAR(255)
barcodeVARCHAR(255)
filesizeBIGINT(20)
blocksizeINT(11)
>] +} diff --git a/doc/schema.png b/doc/schema.png new file mode 100644 index 0000000..f58a3ee Binary files /dev/null and b/doc/schema.png differ