feat: add size, created, and modified columns to file table and manifestattachment APIs

This commit is contained in:
seb
2026-09-18 01:45:27 +02:00
parent cfb7f86f0e
commit e3d30b296b
9 changed files with 127 additions and 66 deletions

View File

@@ -1277,8 +1277,8 @@
<g id="edge32" class="edge">
<title>articlelistarticle:w&#45;&gt;article:n</title>
<g id="a_edge32"><a xlink:title="FK_articlelistarticle_article">
<path fill="none" stroke="#ff7fc2" stroke-width="1.4" d="M3270.65,-1036.6C3183.81,-1036.6 3251.5,-1162.83 3177.58,-1208.4 3170.23,-1212.93 3160.09,-1217.55 3153.06,-1217.52"/>
<polygon fill="#ff7fc2" stroke="#ff7fc2" stroke-width="1.4" points="3153.1,-1214.1 3146.41,-1210.89 3149.64,-1217.57 3153.1,-1214.1"/>
<path fill="none" stroke="#ff7fc2" stroke-width="1.4" d="M3270.65,-1036.6C3183.81,-1036.6 3250.89,-1161.86 3177.58,-1208.4 3175.62,-1209.64 3173.27,-1210.93 3170.95,-1211.91"/>
<polygon fill="#ff7fc2" stroke="#ff7fc2" stroke-width="1.4" points="3169.45,-1209.05 3162.08,-1209.87 3168.36,-1213.83 3169.45,-1209.05"/>
</a>
</g>
</g>
@@ -1580,8 +1580,8 @@
<g id="edge27" class="edge">
<title>articlepic:e&#45;&gt;article:n</title>
<g id="a_edge27"><a xlink:title="FK_articlepic_article">
<path fill="none" stroke="#5aa7ff" stroke-width="1.4" d="M4362.24,-1453.2C4393.79,-1453.2 4376.64,-1409.74 4361.24,-1382.2 4322.38,-1312.76 4285.55,-1311.35 4210,-1286.4 4101.85,-1250.69 3208.96,-1322.41 3161.94,-1218.25"/>
<polygon fill="#5aa7ff" stroke="#5aa7ff" stroke-width="1.4" points="3164.35,-1217.79 3160.47,-1211.47 3159.56,-1218.83 3164.35,-1217.79"/>
<path fill="none" stroke="#5aa7ff" stroke-width="1.4" d="M4362.24,-1453.2C4393.79,-1453.2 4376.64,-1409.74 4361.24,-1382.2 4322.38,-1312.76 4285.57,-1311.31 4210,-1286.4 4100.17,-1250.2 3192.73,-1324.13 3146.72,-1218.06"/>
<polygon fill="#5aa7ff" stroke="#5aa7ff" stroke-width="1.4" points="3149.17,-1217.82 3145.34,-1211.47 3144.37,-1218.83 3149.17,-1217.82"/>
</a>
</g>
</g>
@@ -1597,43 +1597,55 @@
<!-- file -->
<g id="node32" class="node">
<title>file</title>
<polygon fill="#33415c" stroke="none" points="4445,-1545 4445,-1573.4 4609,-1573.4 4609,-1545 4445,-1545"/>
<polygon fill="none" stroke="#3f4c5f" points="4445,-1545 4445,-1573.4 4609,-1573.4 4609,-1545 4445,-1545"/>
<polygon fill="#33415c" stroke="none" points="4447,-1567.4 4447,-1571.4 4607,-1571.4 4607,-1567.4 4447,-1567.4"/>
<text xml:space="preserve" text-anchor="start" x="4518.33" y="-1554.6" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="12.00" fill="#e2e8f0">file</text>
<polygon fill="#2b3a52" stroke="none" points="4445,-1518.2 4445,-1545 4609,-1545 4609,-1518.2 4445,-1518.2"/>
<polygon fill="none" stroke="#3f4c5f" points="4445,-1518.2 4445,-1545 4609,-1545 4609,-1518.2 4445,-1518.2"/>
<text xml:space="preserve" text-anchor="start" x="4450" y="-1528.4" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00" fill="#d8dee9">id</text>
<text xml:space="preserve" text-anchor="start" x="4574.5" y="-1529.9" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">INT </text>
<text xml:space="preserve" text-anchor="start" x="4591.49" y="-1529.9" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="9.00" fill="#8b95a7">PK</text>
<polygon fill="#272e3d" stroke="none" points="4445,-1491.4 4445,-1518.2 4609,-1518.2 4609,-1491.4 4445,-1491.4"/>
<polygon fill="none" stroke="#3f4c5f" points="4445,-1491.4 4445,-1518.2 4609,-1518.2 4609,-1491.4 4445,-1491.4"/>
<text xml:space="preserve" text-anchor="start" x="4450" y="-1499.2" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#d8dee9">hash</text>
<text xml:space="preserve" text-anchor="start" x="4537.49" y="-1501.2" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">NVARCHAR(64)</text>
<polygon fill="#2a3242" stroke="none" points="4445,-1464.6 4445,-1491.4 4609,-1491.4 4609,-1464.6 4445,-1464.6"/>
<polygon fill="none" stroke="#3f4c5f" points="4445,-1464.6 4445,-1491.4 4609,-1491.4 4609,-1464.6 4445,-1464.6"/>
<text xml:space="preserve" text-anchor="start" x="4450" y="-1472.4" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#d8dee9">mimetype</text>
<text xml:space="preserve" text-anchor="start" x="4532.48" y="-1474.4" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">NVARCHAR(255)</text>
<polygon fill="#272e3d" stroke="none" points="4445,-1437.8 4445,-1464.6 4609,-1464.6 4609,-1437.8 4445,-1437.8"/>
<polygon fill="none" stroke="#3f4c5f" points="4445,-1437.8 4445,-1464.6 4609,-1464.6 4609,-1437.8 4445,-1437.8"/>
<text xml:space="preserve" text-anchor="start" x="4450" y="-1445.6" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#d8dee9">name</text>
<text xml:space="preserve" text-anchor="start" x="4532.48" y="-1447.6" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">NVARCHAR(255)</text>
<polygon fill="#2a3242" stroke="none" points="4445,-1411 4445,-1437.8 4609,-1437.8 4609,-1411 4445,-1411"/>
<polygon fill="none" stroke="#3f4c5f" points="4445,-1411 4445,-1437.8 4609,-1437.8 4609,-1411 4445,-1411"/>
<text xml:space="preserve" text-anchor="start" x="4450" y="-1418.8" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#d8dee9">content</text>
<text xml:space="preserve" text-anchor="start" x="4526.49" y="-1420.8" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">VARBINARY(MAX)</text>
<polygon fill="#272e3d" stroke="none" points="4445,-1384.2 4445,-1411 4609,-1411 4609,-1384.2 4445,-1384.2"/>
<polygon fill="none" stroke="#3f4c5f" points="4445,-1384.2 4445,-1411 4609,-1411 4609,-1384.2 4445,-1384.2"/>
<text xml:space="preserve" text-anchor="start" x="4450" y="-1392" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#d8dee9">thumbavif?</text>
<text xml:space="preserve" text-anchor="start" x="4526.49" y="-1394" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">VARBINARY(MAX)</text>
<polygon fill="#2a3242" stroke="none" points="4445,-1357.4 4445,-1384.2 4609,-1384.2 4609,-1357.4 4445,-1357.4"/>
<polygon fill="none" stroke="#3f4c5f" points="4445,-1357.4 4445,-1384.2 4609,-1384.2 4609,-1357.4 4445,-1357.4"/>
<text xml:space="preserve" text-anchor="start" x="4450" y="-1365.2" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#d8dee9">thumbx?</text>
<text xml:space="preserve" text-anchor="start" x="4589.5" y="-1367.2" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">INT</text>
<polygon fill="#272e3d" stroke="none" points="4445,-1330.6 4445,-1357.4 4609,-1357.4 4609,-1330.6 4445,-1330.6"/>
<polygon fill="none" stroke="#3f4c5f" points="4445,-1330.6 4445,-1357.4 4609,-1357.4 4609,-1330.6 4445,-1330.6"/>
<text xml:space="preserve" text-anchor="start" x="4450" y="-1338.4" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#d8dee9">thumby?</text>
<text xml:space="preserve" text-anchor="start" x="4589.5" y="-1340.4" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">INT</text>
<polygon fill="#33415c" stroke="none" points="4445,-1585.2 4445,-1613.6 4609,-1613.6 4609,-1585.2 4445,-1585.2"/>
<polygon fill="none" stroke="#3f4c5f" points="4445,-1585.2 4445,-1613.6 4609,-1613.6 4609,-1585.2 4445,-1585.2"/>
<polygon fill="#33415c" stroke="none" points="4447,-1607.6 4447,-1611.6 4607,-1611.6 4607,-1607.6 4447,-1607.6"/>
<text xml:space="preserve" text-anchor="start" x="4518.33" y="-1594.8" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="12.00" fill="#e2e8f0">file</text>
<polygon fill="#2b3a52" stroke="none" points="4445,-1558.4 4445,-1585.2 4609,-1585.2 4609,-1558.4 4445,-1558.4"/>
<polygon fill="none" stroke="#3f4c5f" points="4445,-1558.4 4445,-1585.2 4609,-1585.2 4609,-1558.4 4445,-1558.4"/>
<text xml:space="preserve" text-anchor="start" x="4450" y="-1568.6" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00" fill="#d8dee9">id</text>
<text xml:space="preserve" text-anchor="start" x="4574.5" y="-1570.1" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">INT </text>
<text xml:space="preserve" text-anchor="start" x="4591.49" y="-1570.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="9.00" fill="#8b95a7">PK</text>
<polygon fill="#272e3d" stroke="none" points="4445,-1531.6 4445,-1558.4 4609,-1558.4 4609,-1531.6 4445,-1531.6"/>
<polygon fill="none" stroke="#3f4c5f" points="4445,-1531.6 4445,-1558.4 4609,-1558.4 4609,-1531.6 4445,-1531.6"/>
<text xml:space="preserve" text-anchor="start" x="4450" y="-1539.4" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#d8dee9">hash</text>
<text xml:space="preserve" text-anchor="start" x="4537.49" y="-1541.4" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">NVARCHAR(64)</text>
<polygon fill="#2a3242" stroke="none" points="4445,-1504.8 4445,-1531.6 4609,-1531.6 4609,-1504.8 4445,-1504.8"/>
<polygon fill="none" stroke="#3f4c5f" points="4445,-1504.8 4445,-1531.6 4609,-1531.6 4609,-1504.8 4445,-1504.8"/>
<text xml:space="preserve" text-anchor="start" x="4450" y="-1512.6" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#d8dee9">mimetype</text>
<text xml:space="preserve" text-anchor="start" x="4532.48" y="-1514.6" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">NVARCHAR(255)</text>
<polygon fill="#272e3d" stroke="none" points="4445,-1478 4445,-1504.8 4609,-1504.8 4609,-1478 4445,-1478"/>
<polygon fill="none" stroke="#3f4c5f" points="4445,-1478 4445,-1504.8 4609,-1504.8 4609,-1478 4445,-1478"/>
<text xml:space="preserve" text-anchor="start" x="4450" y="-1485.8" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#d8dee9">name</text>
<text xml:space="preserve" text-anchor="start" x="4532.48" y="-1487.8" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">NVARCHAR(255)</text>
<polygon fill="#2a3242" stroke="none" points="4445,-1451.2 4445,-1478 4609,-1478 4609,-1451.2 4445,-1451.2"/>
<polygon fill="none" stroke="#3f4c5f" points="4445,-1451.2 4445,-1478 4609,-1478 4609,-1451.2 4445,-1451.2"/>
<text xml:space="preserve" text-anchor="start" x="4450" y="-1459" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#d8dee9">size</text>
<text xml:space="preserve" text-anchor="start" x="4574" y="-1461" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">BIGINT</text>
<polygon fill="#272e3d" stroke="none" points="4445,-1424.4 4445,-1451.2 4609,-1451.2 4609,-1424.4 4445,-1424.4"/>
<polygon fill="none" stroke="#3f4c5f" points="4445,-1424.4 4445,-1451.2 4609,-1451.2 4609,-1424.4 4445,-1424.4"/>
<text xml:space="preserve" text-anchor="start" x="4450" y="-1432.2" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#d8dee9">created</text>
<text xml:space="preserve" text-anchor="start" x="4553.49" y="-1434.2" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">DATETIME2</text>
<polygon fill="#2a3242" stroke="none" points="4445,-1397.6 4445,-1424.4 4609,-1424.4 4609,-1397.6 4445,-1397.6"/>
<polygon fill="none" stroke="#3f4c5f" points="4445,-1397.6 4445,-1424.4 4609,-1424.4 4609,-1397.6 4445,-1397.6"/>
<text xml:space="preserve" text-anchor="start" x="4450" y="-1405.4" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#d8dee9">modified</text>
<text xml:space="preserve" text-anchor="start" x="4553.49" y="-1407.4" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">DATETIME2</text>
<polygon fill="#272e3d" stroke="none" points="4445,-1370.8 4445,-1397.6 4609,-1397.6 4609,-1370.8 4445,-1370.8"/>
<polygon fill="none" stroke="#3f4c5f" points="4445,-1370.8 4445,-1397.6 4609,-1397.6 4609,-1370.8 4445,-1370.8"/>
<text xml:space="preserve" text-anchor="start" x="4450" y="-1378.6" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#d8dee9">content</text>
<text xml:space="preserve" text-anchor="start" x="4526.49" y="-1380.6" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">VARBINARY(MAX)</text>
<polygon fill="#2a3242" stroke="none" points="4445,-1344 4445,-1370.8 4609,-1370.8 4609,-1344 4445,-1344"/>
<polygon fill="none" stroke="#3f4c5f" points="4445,-1344 4445,-1370.8 4609,-1370.8 4609,-1344 4445,-1344"/>
<text xml:space="preserve" text-anchor="start" x="4450" y="-1351.8" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#d8dee9">thumbavif?</text>
<text xml:space="preserve" text-anchor="start" x="4526.49" y="-1353.8" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">VARBINARY(MAX)</text>
<polygon fill="#272e3d" stroke="none" points="4445,-1317.2 4445,-1344 4609,-1344 4609,-1317.2 4445,-1317.2"/>
<polygon fill="none" stroke="#3f4c5f" points="4445,-1317.2 4445,-1344 4609,-1344 4609,-1317.2 4445,-1317.2"/>
<text xml:space="preserve" text-anchor="start" x="4450" y="-1325" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#d8dee9">thumbx?</text>
<text xml:space="preserve" text-anchor="start" x="4589.5" y="-1327" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">INT</text>
<polygon fill="#2a3242" stroke="none" points="4445,-1290.4 4445,-1317.2 4609,-1317.2 4609,-1290.4 4445,-1290.4"/>
<polygon fill="none" stroke="#3f4c5f" points="4445,-1290.4 4445,-1317.2 4609,-1317.2 4609,-1290.4 4445,-1290.4"/>
<text xml:space="preserve" text-anchor="start" x="4450" y="-1298.2" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#d8dee9">thumby?</text>
<text xml:space="preserve" text-anchor="start" x="4589.5" y="-1300.2" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">INT</text>
</g>
<!-- manifestarticle -->
<g id="node33" class="node">
@@ -1829,8 +1841,8 @@
<g id="edge62" class="edge">
<title>manifestattachment:e&#45;&gt;file:n</title>
<g id="a_edge62"><a xlink:title="FK_manifestattachment_file">
<path fill="none" stroke="#ff6f6f" stroke-width="1.4" d="M629.4,-996.4C653.65,-996.4 623.56,-1197.54 641,-1214.4 716.15,-1287.04 4299.03,-1275.71 4403,-1286.4 4499.27,-1296.29 4555.21,-1252.12 4617,-1326.6 4651.73,-1368.47 4655.25,-1532.72 4617,-1571.4 4591.18,-1597.51 4536.92,-1610.23 4528.2,-1581.2"/>
<polygon fill="#ff6f6f" stroke="#ff6f6f" stroke-width="1.4" points="4530.66,-1581.11 4527.29,-1574.5 4525.8,-1581.77 4530.66,-1581.11"/>
<path fill="none" stroke="#ff6f6f" stroke-width="1.4" d="M629.4,-996.4C653.65,-996.4 623.55,-1197.55 641,-1214.4 799.93,-1367.85 4462.2,-1128.77 4617,-1286.4 4642.31,-1312.18 4642.4,-1585.91 4617,-1611.6 4591.18,-1637.71 4536.92,-1650.43 4528.2,-1621.4"/>
<polygon fill="#ff6f6f" stroke="#ff6f6f" stroke-width="1.4" points="4530.66,-1621.31 4527.29,-1614.7 4525.8,-1621.97 4530.66,-1621.31"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 206 KiB

After

Width:  |  Height:  |  Size: 207 KiB