salutation management views

This commit is contained in:
Julian Krauser 2025-01-25 12:16:05 +01:00
parent 3866d406b2
commit bc721d06ab
14 changed files with 541 additions and 91 deletions

View file

@ -1,8 +1,8 @@
{
"id": "0",
"name": "administration-db",
"createdAt": "2025-01-12T13:30:56.612Z",
"updatedAt": "2025-01-12T13:30:56.612Z",
"createdAt": "2025-01-25T11:15:11.340Z",
"updatedAt": "2025-01-25T11:15:11.340Z",
"databaseType": "mariadb",
"tables": [
{
@ -453,8 +453,8 @@
"id": "35",
"name": "membership",
"schema": "administration",
"x": 431.0493261325482,
"y": -194.01007034924007,
"x": 423.2353392314366,
"y": -235.03350158007595,
"fields": [
{
"id": "36",
@ -698,8 +698,8 @@
"id": "56",
"name": "membership_status",
"schema": "administration",
"x": 712.2717493973673,
"y": -155.53936203938048,
"x": 704.4577624962558,
"y": -196.5627932702164,
"fields": [
{
"id": "57",
@ -766,21 +766,6 @@
},
{
"id": "62",
"name": "salutation",
"type": {
"id": "varchar",
"name": "varchar"
},
"primaryKey": false,
"unique": false,
"nullable": false,
"character_maximum_length": "255",
"default": "'none'",
"collation": "utf8mb4_general_ci",
"createdAt": 1734524896259
},
{
"id": "63",
"name": "firstname",
"type": {
"id": "varchar",
@ -794,7 +779,7 @@
"createdAt": 1734524896259
},
{
"id": "64",
"id": "63",
"name": "lastname",
"type": {
"id": "varchar",
@ -808,7 +793,7 @@
"createdAt": 1734524896259
},
{
"id": "65",
"id": "64",
"name": "nameaffix",
"type": {
"id": "varchar",
@ -822,7 +807,7 @@
"createdAt": 1734524896259
},
{
"id": "66",
"id": "65",
"name": "birthdate",
"type": {
"id": "date",
@ -834,7 +819,7 @@
"createdAt": 1734524896259
},
{
"id": "67",
"id": "66",
"name": "internalId",
"type": {
"name": "varchar",
@ -845,6 +830,21 @@
"primaryKey": false,
"createdAt": 1736351121650
},
{
"id": "67",
"name": "salutationId",
"type": {
"name": "int",
"id": "int"
},
"primaryKey": false,
"unique": false,
"nullable": false,
"character_maximum_length": "255",
"default": "'none'",
"collation": "utf8mb4_general_ci",
"createdAt": 1734524896259
},
{
"id": "68",
"name": "sendNewsletterId",
@ -889,8 +889,8 @@
"id": "71",
"name": "communication_type",
"schema": "administration",
"x": 712.818422135433,
"y": 325.42673695158805,
"x": 735.756546723297,
"y": 175.00748910518985,
"fields": [
{
"id": "72",
@ -1231,8 +1231,8 @@
"id": "96",
"name": "communication",
"schema": "administration",
"x": 428.2501516386368,
"y": 181.28410937476986,
"x": 451.18827622650076,
"y": 30.864861528371677,
"fields": [
{
"id": "97",
@ -1682,11 +1682,48 @@
"isMaterializedView": false,
"createdAt": 1734524896260,
"diagramId": "7gb18czobyir"
},
{
"id": "132",
"name": "salutation",
"x": 428.6069830535669,
"y": 516.5938067201159,
"fields": [
{
"id": "133",
"name": "id",
"type": {
"name": "int",
"id": "int"
},
"unique": true,
"nullable": false,
"primaryKey": true,
"createdAt": 1737803524494
},
{
"id": "134",
"name": "salutation",
"type": {
"name": "varchar",
"id": "varchar"
},
"unique": false,
"nullable": false,
"primaryKey": false,
"createdAt": 1737803546875
}
],
"indexes": [],
"color": "#4dee8a",
"createdAt": 1737803524494,
"isView": false,
"order": 15
}
],
"relationships": [
{
"id": "132",
"id": "135",
"name": "FK_1fd52c8f109123e5a2c67dc2c83",
"sourceSchema": "administration",
"targetSchema": "administration",
@ -1700,7 +1737,7 @@
"diagramId": "7gb18czobyir"
},
{
"id": "133",
"id": "136",
"name": "FK_21994db635b47e07f45b2686a51",
"sourceSchema": "administration",
"targetSchema": "administration",
@ -1714,7 +1751,7 @@
"diagramId": "7gb18czobyir"
},
{
"id": "134",
"id": "137",
"name": "FK_2912b056a5d0b7977360a986164",
"sourceSchema": "administration",
"targetSchema": "administration",
@ -1728,7 +1765,7 @@
"diagramId": "7gb18czobyir"
},
{
"id": "135",
"id": "138",
"name": "FK_3b4b41597707b13086e71727422",
"sourceSchema": "administration",
"targetSchema": "administration",
@ -1742,7 +1779,7 @@
"diagramId": "7gb18czobyir"
},
{
"id": "136",
"id": "139",
"name": "FK_98b70e687c35709d2f01b3d7d74",
"sourceSchema": "administration",
"targetSchema": "administration",
@ -1756,7 +1793,7 @@
"diagramId": "7gb18czobyir"
},
{
"id": "137",
"id": "140",
"name": "FK_a47e04bfd3671d8a375d1896d25",
"sourceSchema": "administration",
"targetSchema": "administration",
@ -1770,7 +1807,7 @@
"diagramId": "7gb18czobyir"
},
{
"id": "138",
"id": "141",
"name": "FK_ba47b44c2ddf34c1bcc75df6675",
"sourceSchema": "administration",
"targetSchema": "administration",
@ -1784,7 +1821,7 @@
"diagramId": "7gb18czobyir"
},
{
"id": "139",
"id": "142",
"name": "FK_dbebe53df1caa0b6715a220b0ea",
"sourceSchema": "administration",
"targetSchema": "administration",
@ -1798,7 +1835,7 @@
"diagramId": "7gb18czobyir"
},
{
"id": "140",
"id": "143",
"name": "FK_e9fd4d37c4ac0fb08bd6eeeda3c",
"sourceSchema": "administration",
"targetSchema": "administration",
@ -1812,7 +1849,7 @@
"diagramId": "7gb18czobyir"
},
{
"id": "141",
"id": "144",
"name": "FK_fc5f59e5c9aafdedd25ed8ed36e",
"sourceSchema": "administration",
"targetSchema": "administration",
@ -1824,11 +1861,24 @@
"targetCardinality": "one",
"createdAt": 1734524896262,
"diagramId": "7gb18czobyir"
},
{
"id": "145",
"name": "member_salutationId_fk",
"sourceSchema": "administration",
"sourceTableId": "60",
"targetSchema": "administration",
"targetTableId": "132",
"sourceFieldId": "67",
"targetFieldId": "133",
"sourceCardinality": "many",
"targetCardinality": "one",
"createdAt": 1737803651894
}
],
"dependencies": [
{
"id": "142",
"id": "146",
"schema": "administration",
"tableId": "60",
"dependentSchema": "administration",
@ -1837,7 +1887,7 @@
"diagramId": "7gb18czobyir"
},
{
"id": "143",
"id": "147",
"schema": "administration",
"tableId": "127",
"dependentSchema": "administration",
@ -1846,7 +1896,7 @@
"diagramId": "7gb18czobyir"
},
{
"id": "144",
"id": "148",
"schema": "administration",
"tableId": "112",
"dependentSchema": "administration",
@ -1854,55 +1904,19 @@
"createdAt": 1734524897267,
"diagramId": "7gb18czobyir"
},
{
"id": "145",
"schema": "administration",
"tableId": "60",
"dependentSchema": "administration",
"dependentTableId": "11",
"createdAt": 1734524897283,
"diagramId": "7gb18czobyir"
},
{
"id": "146",
"schema": "administration",
"tableId": "1",
"dependentSchema": "administration",
"dependentTableId": "11",
"createdAt": 1734524897283,
"diagramId": "7gb18czobyir"
},
{
"id": "147",
"schema": "administration",
"tableId": "60",
"dependentSchema": "administration",
"dependentTableId": "21",
"createdAt": 1734524897244,
"diagramId": "7gb18czobyir"
},
{
"id": "148",
"schema": "administration",
"tableId": "56",
"dependentSchema": "administration",
"dependentTableId": "76",
"createdAt": 1734524897297,
"diagramId": "7gb18czobyir"
},
{
"id": "149",
"schema": "administration",
"tableId": "35",
"tableId": "60",
"dependentSchema": "administration",
"dependentTableId": "76",
"createdAt": 1734524897297,
"dependentTableId": "11",
"createdAt": 1734524897283,
"diagramId": "7gb18czobyir"
},
{
"id": "150",
"schema": "administration",
"tableId": "123",
"tableId": "1",
"dependentSchema": "administration",
"dependentTableId": "11",
"createdAt": 1734524897283,
@ -1913,6 +1927,42 @@
"schema": "administration",
"tableId": "60",
"dependentSchema": "administration",
"dependentTableId": "21",
"createdAt": 1734524897244,
"diagramId": "7gb18czobyir"
},
{
"id": "152",
"schema": "administration",
"tableId": "56",
"dependentSchema": "administration",
"dependentTableId": "76",
"createdAt": 1734524897297,
"diagramId": "7gb18czobyir"
},
{
"id": "153",
"schema": "administration",
"tableId": "35",
"dependentSchema": "administration",
"dependentTableId": "76",
"createdAt": 1734524897297,
"diagramId": "7gb18czobyir"
},
{
"id": "154",
"schema": "administration",
"tableId": "123",
"dependentSchema": "administration",
"dependentTableId": "11",
"createdAt": 1734524897283,
"diagramId": "7gb18czobyir"
},
{
"id": "155",
"schema": "administration",
"tableId": "60",
"dependentSchema": "administration",
"dependentTableId": "86",
"createdAt": 1734524897266,
"diagramId": "7gb18czobyir"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 650 KiB

After

Width:  |  Height:  |  Size: 478 KiB

Before After
Before After

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 11 MiB

After

Width:  |  Height:  |  Size: 12 MiB

Before After
Before After