Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

// ************************************************************

// Generated by: Sequel Ace


// Version 20046
//
// https://sequel-ace.com/
// https://github.com/Sequel-Ace/Sequel-Ace
//
// Host: 127.0.0.1 (MySQL 8.0.32)
// Database: dp_metastore
// Generation Time: 2023-05-02 05:49:39 +0000
// ************************************************************

digraph "Database Structure" {


label = "ER Diagram: dp_metastore";
labelloc = t;
compound = true;
node [ shape = record ];
fontname = "Helvetica";
ranksep = 1.25;
ratio = 0.7;
rankdir = LR;
subgraph "table_etl_pipeline" {
node [ shape = "plaintext" ];
"etl_pipeline" [ label=<
<TABLE BORDER="0" CELLSPACING="0" CELLBORDER="1">
<TR><TD COLSPAN="3" BGCOLOR="#DDDDDD">etl_pipeline</TD></TR>
<TR><TD COLSPAN="3" PORT="id">id:<FONT FACE="Helvetica-
Oblique" POINT-SIZE="10">INT</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="object_id">object_id:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">INT</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="type">type:<FONT FACE="Helvetica-
Oblique" POINT-SIZE="10">INT</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="is_active">is_active:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">TINYINT</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="status">status:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">INT</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="created_at">created_at:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">TIMESTAMP</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="updated_at">updated_at:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">TIMESTAMP</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="created_by">created_by:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">VARCHAR</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="updated_by">updated_by:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">VARCHAR</FONT></TD></TR>
</TABLE>>
];
}
subgraph "table_etl_pipeline_processor_mapping" {
node [ shape = "plaintext" ];
"etl_pipeline_processor_mapping" [ label=<
<TABLE BORDER="0" CELLSPACING="0" CELLBORDER="1">
<TR><TD COLSPAN="3"
BGCOLOR="#DDDDDD">etl_pipeline_processor_mapping</TD></TR>
<TR><TD COLSPAN="3" PORT="id">id:<FONT FACE="Helvetica-
Oblique" POINT-SIZE="10">INT</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="pipeline_id">pipeline_id:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">INT</FONT></TD></TR>
<TR><TD COLSPAN="3"
PORT="processor_order">processor_order:<FONT FACE="Helvetica-Oblique" POINT-
SIZE="10">INT</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="processor_id">processor_id:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">INT</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="meta">meta:<FONT FACE="Helvetica-
Oblique" POINT-SIZE="10">TEXT</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="is_active">is_active:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">TINYINT</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="version">version:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">FLOAT</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="created_at">created_at:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">TIMESTAMP</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="updated_at">updated_at:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">TIMESTAMP</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="created_by">created_by:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">VARCHAR</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="updated_by">updated_by:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">VARCHAR</FONT></TD></TR>
</TABLE>>
];
}
subgraph "table_object_info" {
node [ shape = "plaintext" ];
"object_info" [ label=<
<TABLE BORDER="0" CELLSPACING="0" CELLBORDER="1">
<TR><TD COLSPAN="3" BGCOLOR="#DDDDDD">object_info</TD></TR>
<TR><TD COLSPAN="3" PORT="id">id:<FONT FACE="Helvetica-
Oblique" POINT-SIZE="10">INT</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="object_type_id">object_type_id:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">INT</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="db_name">db_name:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">VARCHAR</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="object_name">object_name:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">VARCHAR</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="is_active">is_active:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">TINYINT</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="created_at">created_at:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">TIMESTAMP</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="updated_at">updated_at:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">TIMESTAMP</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="created_by">created_by:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">VARCHAR</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="updated_by">updated_by:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">VARCHAR</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="object_desc">object_desc:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">TEXT</FONT></TD></TR>
</TABLE>>
];
}
subgraph "table_object_type" {
node [ shape = "plaintext" ];
"object_type" [ label=<
<TABLE BORDER="0" CELLSPACING="0" CELLBORDER="1">
<TR><TD COLSPAN="3" BGCOLOR="#DDDDDD">object_type</TD></TR>
<TR><TD COLSPAN="3" PORT="id">id:<FONT FACE="Helvetica-
Oblique" POINT-SIZE="10">INT</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="object_type">object_type:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">VARCHAR</FONT></TD></TR>
</TABLE>>
];
}
subgraph "table_pipeline_type" {
node [ shape = "plaintext" ];
"pipeline_type" [ label=<
<TABLE BORDER="0" CELLSPACING="0" CELLBORDER="1">
<TR><TD COLSPAN="3" BGCOLOR="#DDDDDD">pipeline_type</TD></TR>
<TR><TD COLSPAN="3" PORT="id">id:<FONT FACE="Helvetica-
Oblique" POINT-SIZE="10">INT</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="type_name">type_name:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">VARCHAR</FONT></TD></TR>
<TR><TD COLSPAN="3"
PORT="input_storage_type">input_storage_type:<FONT FACE="Helvetica-Oblique"
POINT-SIZE="10">INT</FONT></TD></TR>
<TR><TD COLSPAN="3"
PORT="output_storage_type">output_storage_type:<FONT FACE="Helvetica-Oblique"
POINT-SIZE="10">INT</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="is_active">is_active:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">TINYINT</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="created_at">created_at:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">TIMESTAMP</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="updated_at">updated_at:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">TIMESTAMP</FONT></TD></TR>
</TABLE>>
];
}
subgraph "table_processor" {
node [ shape = "plaintext" ];
"processor" [ label=<
<TABLE BORDER="0" CELLSPACING="0" CELLBORDER="1">
<TR><TD COLSPAN="3" BGCOLOR="#DDDDDD">processor</TD></TR>
<TR><TD COLSPAN="3" PORT="id">id:<FONT FACE="Helvetica-
Oblique" POINT-SIZE="10">INT</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="name">name:<FONT FACE="Helvetica-
Oblique" POINT-SIZE="10">VARCHAR</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="class_name">class_name:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">VARCHAR</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="is_active">is_active:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">TINYINT</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="created_at">created_at:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">TIMESTAMP</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="updated_at">updated_at:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">TIMESTAMP</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="created_by">created_by:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">VARCHAR</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="updated_by">updated_by:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">VARCHAR</FONT></TD></TR>
</TABLE>>
];
}
subgraph "table_schema_details" {
node [ shape = "plaintext" ];
"schema_details" [ label=<
<TABLE BORDER="0" CELLSPACING="0" CELLBORDER="1">
<TR><TD COLSPAN="3" BGCOLOR="#DDDDDD">schema_details</TD></TR>
<TR><TD COLSPAN="3" PORT="id">id:<FONT FACE="Helvetica-
Oblique" POINT-SIZE="10">INT</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="object_info_id">object_info_id:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">INT</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="primary_key">primary_key:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">VARCHAR</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="column_detail">column_detail:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">TEXT</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="schema_version">schema_version:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">FLOAT</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="is_active">is_active:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">TINYINT</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="created_at">created_at:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">TIMESTAMP</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="updated_at">updated_at:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">TIMESTAMP</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="created_by">created_by:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">VARCHAR</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="updated_by">updated_by:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">VARCHAR</FONT></TD></TR>
</TABLE>>
];
}
subgraph "table_status" {
node [ shape = "plaintext" ];
"status" [ label=<
<TABLE BORDER="0" CELLSPACING="0" CELLBORDER="1">
<TR><TD COLSPAN="3" BGCOLOR="#DDDDDD">status</TD></TR>
<TR><TD COLSPAN="3" PORT="id">id:<FONT FACE="Helvetica-
Oblique" POINT-SIZE="10">INT</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="status">status:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">VARCHAR</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="status_code">status_code:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">INT</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="description">description:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">VARCHAR</FONT></TD></TR>
</TABLE>>
];
}
subgraph "table_storage_type" {
node [ shape = "plaintext" ];
"storage_type" [ label=<
<TABLE BORDER="0" CELLSPACING="0" CELLBORDER="1">
<TR><TD COLSPAN="3" BGCOLOR="#DDDDDD">storage_type</TD></TR>
<TR><TD COLSPAN="3" PORT="id">id:<FONT FACE="Helvetica-
Oblique" POINT-SIZE="10">INT</FONT></TD></TR>
<TR><TD COLSPAN="3" PORT="storage">storage:<FONT
FACE="Helvetica-Oblique" POINT-SIZE="10">VARCHAR</FONT></TD></TR>
</TABLE>>
];
}
edge [ arrowhead=inv, arrowtail=normal, style=dashed, color="#444444" ];
etl_pipeline:status -> status:id ;
etl_pipeline:object_id -> object_info:id ;
etl_pipeline:type -> pipeline_type:id ;
etl_pipeline_processor_mapping:pipeline_id -> etl_pipeline:id ;
etl_pipeline_processor_mapping:processor_id -> processor:id ;
object_info:object_type_id -> object_type:id ;
pipeline_type:input_storage_type -> storage_type:id ;
pipeline_type:output_storage_type -> storage_type:id ;
schema_details:object_info_id -> object_info:id ;
}

You might also like