From d9bcdb766cb466507b2f3bd416c8b8a0eaa1dc02 Mon Sep 17 00:00:00 2001 From: Bradley Bickford Date: Wed, 25 Jun 2025 21:36:08 -0400 Subject: [PATCH] ChartDB JSON file --- ChartDB(Breadbot).json | 1120 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1120 insertions(+) create mode 100644 ChartDB(Breadbot).json diff --git a/ChartDB(Breadbot).json b/ChartDB(Breadbot).json new file mode 100644 index 0000000..393e88b --- /dev/null +++ b/ChartDB(Breadbot).json @@ -0,0 +1,1120 @@ +{ + "id": "0", + "name": "Breadbot", + "createdAt": "2025-06-26T01:34:16.114Z", + "updatedAt": "2025-06-26T01:34:16.114Z", + "databaseType": "mysql", + "tables": [ + { + "id": "1", + "name": "call_transcriptions", + "x": 1404.9113492914485, + "y": 549.6489487581533, + "fields": [ + { + "id": "2", + "name": "transcription_id", + "type": { + "id": "bigint", + "name": "bigint" + }, + "unique": true, + "nullable": false, + "primaryKey": true, + "createdAt": 1750521977134 + }, + { + "id": "3", + "name": "call_id", + "type": { + "id": "bigint", + "name": "bigint" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750522006319 + }, + { + "id": "4", + "name": "user_snowflake", + "type": { + "id": "bigint", + "name": "bigint" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750522011323 + }, + { + "id": "5", + "name": "speaking_start_time", + "type": { + "id": "datetime", + "name": "datetime" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750522016474 + }, + { + "id": "6", + "name": "text", + "type": { + "id": "longtext", + "name": "longtext" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750522022102 + } + ], + "indexes": [], + "color": "#ff6363", + "createdAt": 1750521977134, + "isView": false, + "order": 7, + "width": 337, + "diagramId": "ty2vmwk8c5qr" + }, + { + "id": "7", + "name": "channels", + "x": 360.84117556659515, + "y": -76.68377624449667, + "fields": [ + { + "id": "8", + "name": "channel_snowflake", + "type": { + "id": "bigint", + "name": "bigint" + }, + "unique": true, + "nullable": false, + "primaryKey": true, + "createdAt": 1750520876112 + }, + { + "id": "9", + "name": "server_snowflake", + "type": { + "id": "bigint", + "name": "bigint" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750520892641 + }, + { + "id": "10", + "name": "channel_name", + "type": { + "id": "text", + "name": "text" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750520898258 + }, + { + "id": "11", + "name": "is_thread", + "type": { + "id": "bit", + "name": "bit" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750899338355 + } + ], + "indexes": [], + "color": "#ff6363", + "createdAt": 1750520876112, + "isView": false, + "order": 2, + "diagramId": "ty2vmwk8c5qr" + }, + { + "id": "12", + "name": "servers", + "x": -139.6792936439487, + "y": -108.93724261355057, + "fields": [ + { + "id": "13", + "name": "server_snowflake", + "type": { + "id": "bigint", + "name": "bigint" + }, + "unique": true, + "nullable": false, + "primaryKey": true, + "createdAt": 1750520528430 + }, + { + "id": "14", + "name": "server_name", + "type": { + "id": "text", + "name": "text" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750520543142 + }, + { + "id": "15", + "name": "server_description", + "type": { + "id": "mediumtext", + "name": "mediumtext" + }, + "unique": false, + "nullable": true, + "primaryKey": false, + "createdAt": 1750520559491 + } + ], + "indexes": [], + "color": "#b067e9", + "createdAt": 1750520528430, + "isView": false, + "order": 0, + "width": 337, + "diagramId": "ty2vmwk8c5qr" + }, + { + "id": "16", + "name": "message_content_changes", + "x": 1503.3924398935028, + "y": 11.10430042963436, + "fields": [ + { + "id": "17", + "name": "message_change_id", + "type": { + "id": "bigint", + "name": "bigint" + }, + "unique": true, + "nullable": false, + "primaryKey": true, + "createdAt": 1750521291099 + }, + { + "id": "18", + "name": "message_snowflake", + "type": { + "id": "bigint", + "name": "bigint" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750521322643 + }, + { + "id": "19", + "name": "message_change_old_timestamp", + "type": { + "id": "datetime", + "name": "datetime" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750521331161 + }, + { + "id": "20", + "name": "message_change_old_content", + "type": { + "id": "longtext", + "name": "longtext" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750521348466 + } + ], + "indexes": [], + "color": "#42e0c0", + "createdAt": 1750521291099, + "isView": false, + "order": 5, + "width": 337, + "diagramId": "ty2vmwk8c5qr" + }, + { + "id": "21", + "name": "winston_sqlutil", + "x": 304.75152389477324, + "y": 501.1958242226898, + "fields": [ + { + "id": "22", + "name": "id", + "type": { + "id": "bigint", + "name": "bigint" + }, + "unique": true, + "nullable": false, + "primaryKey": true, + "createdAt": 1750522164888 + }, + { + "id": "23", + "name": "level", + "type": { + "id": "tinytext", + "name": "tinytext" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750522176084 + }, + { + "id": "24", + "name": "message", + "type": { + "id": "longtext", + "name": "longtext" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750522188703 + }, + { + "id": "25", + "name": "meta", + "type": { + "id": "longtext", + "name": "longtext" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750522215791 + }, + { + "id": "26", + "name": "timestamp", + "type": { + "id": "datetime", + "name": "datetime" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750522260077 + } + ], + "indexes": [], + "color": "#ff9f74", + "createdAt": 1750522164888, + "isView": false, + "order": 8, + "diagramId": "ty2vmwk8c5qr" + }, + { + "id": "27", + "name": "users", + "x": 108.34295580850542, + "y": 155.00385867543946, + "fields": [ + { + "id": "28", + "name": "user_snowflake", + "type": { + "id": "bigint", + "name": "bigint" + }, + "unique": true, + "nullable": false, + "primaryKey": true, + "createdAt": 1750520765600 + }, + { + "id": "29", + "name": "user_name", + "type": { + "id": "text", + "name": "text" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750520791848 + }, + { + "id": "30", + "name": "user_displayname", + "type": { + "id": "text", + "name": "text" + }, + "unique": false, + "nullable": true, + "primaryKey": false, + "createdAt": 1750520801104 + } + ], + "indexes": [], + "color": "#ffe374", + "createdAt": 1750520765600, + "isView": false, + "order": 1, + "diagramId": "ty2vmwk8c5qr" + }, + { + "id": "31", + "name": "winston_breadbot", + "x": -215.46299202138897, + "y": 490.1668526846441, + "fields": [ + { + "id": "32", + "name": "id", + "type": { + "id": "bigint", + "name": "bigint" + }, + "unique": true, + "nullable": false, + "primaryKey": true, + "createdAt": 1750522164888 + }, + { + "id": "33", + "name": "level", + "type": { + "id": "tinytext", + "name": "tinytext" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750522176084 + }, + { + "id": "34", + "name": "message", + "type": { + "id": "longtext", + "name": "longtext" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750522188703 + }, + { + "id": "35", + "name": "meta", + "type": { + "id": "longtext", + "name": "longtext" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750522215791 + }, + { + "id": "36", + "name": "timestamp", + "type": { + "id": "datetime", + "name": "datetime" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750522260077 + } + ], + "indexes": [], + "color": "#ffe374", + "createdAt": 1750522164888, + "isView": false, + "order": 8, + "width": 337, + "diagramId": "ty2vmwk8c5qr" + }, + { + "id": "37", + "name": "call_states", + "x": 1029.5588119999936, + "y": 328.12941855336044, + "fields": [ + { + "id": "38", + "name": "call_id", + "type": { + "id": "bigint", + "name": "bigint" + }, + "unique": true, + "nullable": false, + "primaryKey": true, + "createdAt": 1750521797901 + }, + { + "id": "39", + "name": "channel_snowflake", + "type": { + "id": "bigint", + "name": "bigint" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750521833841 + }, + { + "id": "40", + "name": "call_start_time", + "type": { + "id": "datetime", + "name": "datetime" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750521841137 + }, + { + "id": "41", + "name": "call_end_time", + "type": { + "id": "datetime", + "name": "datetime" + }, + "unique": false, + "nullable": true, + "primaryKey": false, + "createdAt": 1750521846553 + }, + { + "id": "42", + "name": "call_consolidated", + "type": { + "id": "bit", + "name": "bit" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750521857239 + }, + { + "id": "43", + "name": "call_transcribed", + "type": { + "id": "bit", + "name": "bit" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750521864137 + }, + { + "id": "44", + "name": "call_data_cleaned_up", + "type": { + "id": "bit", + "name": "bit" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750521870159 + } + ], + "indexes": [], + "color": "#ff6b8a", + "createdAt": 1750521797901, + "isView": false, + "order": 6, + "diagramId": "ty2vmwk8c5qr" + }, + { + "id": "45", + "name": "message_attachments", + "x": 1500.685988296318, + "y": -320.4360202254594, + "fields": [ + { + "id": "46", + "name": "attachment_snowflake", + "type": { + "id": "bigint", + "name": "bigint" + }, + "unique": true, + "nullable": false, + "primaryKey": true, + "createdAt": 1750521176883 + }, + { + "id": "47", + "name": "message_snowflake", + "type": { + "id": "bigint", + "name": "bigint" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750521194442 + }, + { + "id": "48", + "name": "attachment_name", + "type": { + "id": "text", + "name": "text" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750521199921 + }, + { + "id": "49", + "name": "attachment_description", + "type": { + "id": "text", + "name": "text" + }, + "unique": false, + "nullable": true, + "primaryKey": false, + "createdAt": 1750521205891 + }, + { + "id": "50", + "name": "attachment_timestamp", + "type": { + "id": "datetime", + "name": "datetime" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750521210779 + }, + { + "id": "51", + "name": "attachment_mime_type", + "type": { + "id": "text", + "name": "text" + }, + "unique": false, + "nullable": true, + "primaryKey": false, + "createdAt": 1750521215899 + }, + { + "id": "52", + "name": "attachment_url", + "type": { + "id": "text", + "name": "text" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750521222653 + }, + { + "id": "53", + "name": "attachment_downloaded", + "type": { + "id": "bit", + "name": "bit" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750521227758 + } + ], + "indexes": [], + "color": "#4dee8a", + "createdAt": 1750521176883, + "isView": false, + "order": 4, + "width": 337, + "diagramId": "ty2vmwk8c5qr" + }, + { + "id": "54", + "name": "messages", + "x": 1050.0617973651088, + "y": -348.85376199589604, + "fields": [ + { + "id": "55", + "name": "message_snowflake", + "type": { + "id": "bigint", + "name": "bigint" + }, + "unique": true, + "nullable": false, + "primaryKey": true, + "createdAt": 1750521020471 + }, + { + "id": "56", + "name": "channel_snowflake", + "type": { + "id": "bigint", + "name": "bigint" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750521034045 + }, + { + "id": "57", + "name": "user_snowflake", + "type": { + "id": "bigint", + "name": "bigint" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750521039256 + }, + { + "id": "58", + "name": "message_content", + "type": { + "id": "longtext", + "name": "longtext" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750521045269 + }, + { + "id": "59", + "name": "message_timestamp", + "type": { + "id": "datetime", + "name": "datetime" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750521051026 + }, + { + "id": "60", + "name": "message_deleted", + "type": { + "id": "bit", + "name": "bit" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750521057222 + } + ], + "indexes": [], + "color": "#8eb7ff", + "createdAt": 1750521020471, + "isView": false, + "order": 3, + "diagramId": "ty2vmwk8c5qr" + }, + { + "id": "61", + "name": "breadalert", + "x": 1017.1497526129788, + "y": 920.3888116774814, + "fields": [ + { + "id": "62", + "name": "breadalert_id", + "type": { + "id": "bigint", + "name": "bigint" + }, + "unique": true, + "nullable": false, + "primaryKey": true, + "createdAt": 1750899042051 + }, + { + "id": "63", + "name": "user_snowflake", + "type": { + "id": "bigint", + "name": "bigint" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750899100268 + }, + { + "id": "64", + "name": "event_name", + "type": { + "id": "text", + "name": "text" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750899120365 + }, + { + "id": "65", + "name": "event_datetime", + "type": { + "id": "datetime", + "name": "datetime" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750899131106 + } + ], + "indexes": [], + "color": "#ff9f74", + "createdAt": 1750899042051, + "isView": false, + "order": 10 + }, + { + "id": "66", + "name": "breadalert_notification", + "x": 1355.2325302704996, + "y": 942.0673918700307, + "fields": [ + { + "id": "67", + "name": "breadalert_notification_id", + "type": { + "id": "bigint", + "name": "bigint" + }, + "unique": true, + "nullable": false, + "primaryKey": true, + "createdAt": 1750899226515 + }, + { + "id": "68", + "name": "breadalert_id", + "type": { + "id": "bigint", + "name": "bigint" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750899257008 + }, + { + "id": "69", + "name": "notification_datetime", + "type": { + "id": "datetime", + "name": "datetime" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750899292523 + } + ], + "indexes": [], + "color": "#ffe374", + "createdAt": 1750899226515, + "isView": false, + "order": 11, + "width": 337 + }, + { + "id": "70", + "name": "breadthread_autolock", + "x": 1015.9524944686717, + "y": 1282.1281233693448, + "fields": [ + { + "id": "71", + "name": "breadthread_autolock_id", + "type": { + "id": "bigint", + "name": "bigint" + }, + "unique": true, + "nullable": false, + "primaryKey": true, + "createdAt": 1750899502493 + }, + { + "id": "72", + "name": "channel_snowflake", + "type": { + "id": "bigint", + "name": "bigint" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750899601256 + }, + { + "id": "73", + "name": "inactivity_lock_seconds", + "type": { + "id": "bigint", + "name": "bigint" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750899610535 + }, + { + "id": "74", + "name": "lock_triggered", + "type": { + "id": "bit", + "name": "bit" + }, + "unique": false, + "nullable": false, + "primaryKey": false, + "createdAt": 1750899676095 + } + ], + "indexes": [], + "color": "#7175fa", + "createdAt": 1750899502493, + "isView": false, + "order": 12, + "width": 337 + } + ], + "relationships": [ + { + "id": "75", + "name": "call_states_call_id_fk", + "sourceTableId": "37", + "targetTableId": "1", + "sourceFieldId": "38", + "targetFieldId": "3", + "sourceCardinality": "one", + "targetCardinality": "many", + "createdAt": 1750522054923, + "diagramId": "ty2vmwk8c5qr" + }, + { + "id": "76", + "name": "channels_channel_snowflake_fk", + "sourceTableId": "7", + "targetTableId": "37", + "sourceFieldId": "8", + "targetFieldId": "39", + "sourceCardinality": "one", + "targetCardinality": "many", + "createdAt": 1750521946165, + "diagramId": "ty2vmwk8c5qr" + }, + { + "id": "77", + "name": "channels_channel_snowflake_fk", + "sourceTableId": "7", + "targetTableId": "54", + "sourceFieldId": "8", + "targetFieldId": "56", + "sourceCardinality": "one", + "targetCardinality": "many", + "createdAt": 1750521132121, + "diagramId": "ty2vmwk8c5qr" + }, + { + "id": "78", + "name": "messages_message_snowflake_fk", + "sourceTableId": "54", + "targetTableId": "45", + "sourceFieldId": "55", + "targetFieldId": "47", + "sourceCardinality": "one", + "targetCardinality": "many", + "createdAt": 1750521278773, + "diagramId": "ty2vmwk8c5qr" + }, + { + "id": "79", + "name": "messages_message_snowflake_fk", + "sourceTableId": "54", + "targetTableId": "16", + "sourceFieldId": "55", + "targetFieldId": "18", + "sourceCardinality": "one", + "targetCardinality": "many", + "createdAt": 1750521369926, + "diagramId": "ty2vmwk8c5qr" + }, + { + "id": "80", + "name": "servers_server_snowflake_fk", + "sourceTableId": "12", + "targetTableId": "7", + "sourceFieldId": "13", + "targetFieldId": "9", + "sourceCardinality": "one", + "targetCardinality": "many", + "createdAt": 1750520910813, + "diagramId": "ty2vmwk8c5qr" + }, + { + "id": "81", + "name": "users_user_snowflake_fk", + "sourceTableId": "27", + "targetTableId": "54", + "sourceFieldId": "28", + "targetFieldId": "57", + "sourceCardinality": "one", + "targetCardinality": "many", + "createdAt": 1750521142732, + "diagramId": "ty2vmwk8c5qr" + }, + { + "id": "82", + "name": "users_user_snowflake_fk", + "sourceTableId": "27", + "targetTableId": "1", + "sourceFieldId": "28", + "targetFieldId": "4", + "sourceCardinality": "one", + "targetCardinality": "many", + "createdAt": 1750522061611, + "diagramId": "ty2vmwk8c5qr" + }, + { + "id": "83", + "name": "users_user_snowflake_fk", + "sourceTableId": "27", + "targetTableId": "61", + "sourceFieldId": "28", + "targetFieldId": "63", + "sourceCardinality": "one", + "targetCardinality": "many", + "createdAt": 1750899198512 + }, + { + "id": "84", + "name": "breadalert_breadalert_id_fk", + "sourceTableId": "61", + "targetTableId": "66", + "sourceFieldId": "62", + "targetFieldId": "68", + "sourceCardinality": "one", + "targetCardinality": "many", + "createdAt": 1750899276071 + }, + { + "id": "85", + "name": "channels_channel_snowflake_fk", + "sourceTableId": "7", + "targetTableId": "70", + "sourceFieldId": "8", + "targetFieldId": "72", + "sourceCardinality": "one", + "targetCardinality": "one", + "createdAt": 1750899706284 + } + ], + "dependencies": [], + "areas": [ + { + "id": "86", + "name": "Core", + "x": -225.86793410864308, + "y": -158.71626179220522, + "width": 841, + "height": 524, + "color": "#ff6363", + "diagramId": "ty2vmwk8c5qr" + }, + { + "id": "87", + "name": "Message Content Logging", + "x": 992.6388902991948, + "y": -414.37122898492714, + "width": 913, + "height": 640, + "color": "#42e0c0", + "diagramId": "ty2vmwk8c5qr" + }, + { + "id": "88", + "name": "Logging", + "x": -238.02516639409941, + "y": 393.76483491033605, + "width": 855, + "height": 374, + "color": "#ff9f74", + "diagramId": "ty2vmwk8c5qr" + }, + { + "id": "89", + "name": "Call Recording and Transcription", + "x": 980.3322497322619, + "y": 254.2895751517628, + "width": 925, + "height": 593, + "color": "#7175fa", + "diagramId": "ty2vmwk8c5qr" + }, + { + "id": "90", + "name": "BreadAlert", + "x": 977.4121931709167, + "y": 858.1848090940368, + "width": 855, + "height": 301, + "color": "#c05dcf" + }, + { + "id": "91", + "name": "BreadThread", + "x": 977.4121931709165, + "y": 1209.1043945946508, + "width": 851, + "height": 287, + "color": "#ffe374" + } + ], + "customTypes": [] +} \ No newline at end of file