Merge branch 'main' into next

This commit is contained in:
GitHub Actions Bot 2024-09-08 08:50:37 +00:00
commit 2b7c7c4887

View File

@ -19,6 +19,9 @@ export function beforeDestroyForeignKey(db: Database) {
const fieldKeys = [];
const collection = db.getCollection(collectionName);
if (!collection) {
return;
}
for (const [, field] of collection.fields) {
const fieldKey = field.options?.key;