Professional Documents
Culture Documents
Database design
Date Version Change history Changed by
22 May 2021 1.0 Created Viet
Line
Name Type
Id BigInt
FK_SystemId BigInt (not null)
FK_ProjectFileId BigInt (not null)
Properties MEDIUMTEXT
Branch
Name Type
Id BigInt
FK_LineId BigInt
FK_ProjectFileId BigInt (not null)
Properties MEDIUMTEXT
Port
Name Type
Id BigInt
FK_SystemId BigInt
FK_ProjectFileId BigInt (not null)
Properties MEDIUMTEXT
List
Name Type
Id BigInt
FK_SystemId BigInt
FK_ProjectFileId BigInt (not null)
Properties MEDIUMTEXT
InstanceData
Name Type
Id BigInt
FK_SystemId BigInt
FK_ProjectFileId BigInt (not null)
Properties MEDIUMTEXT
Stores systems, sub-systems, and blocks
Description
primary key
0: root, otherwise: its parent id
primary key
Stores properties of systems, sub-systems, and blocks
primary key
Stores properties of lines
primary key
Stores properties of a branch
primary key
Stores properties of a port
primary key
Stores properties of lists
primary key
Stores properties of an InstanceData
Project
Name Type
Id BigInt (not null)
Name VARCHAR(255) (NOT NULL)
Path VARCHAR(4000)
Description MediumText
MatlabVersion VARCHAR(255)
ProjectFile
Name Type
Id BigInt (not null)
Name VARCHAR(255) (NOT NULL)
Path VARCHAR(4000)
FK_ProjectId BigInt (not null)
Stores SVP projects
Description
primary key, auto-increase