Skip to content

Commit 7265b4a

Browse files
committed
patch
1 parent d586387 commit 7265b4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/diff.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ for (const { name, attributes } of pendingSchema.collections) {
2828

2929
for (const item of [...currentAttributesSet]) {
3030
if (!prevAttributesSet.has(item)) {
31-
const { type, size, array } = attributes.find(({ key }) => key === item);
32-
console.log(`ADD ${item} type=${type} size=${size} array=${array}`);
31+
const { type, size, array, required, default: D } = attributes.find(({ key }) => key === item);
32+
console.log(`ADD ${item} type=${type} size=${size || ""} array=${array} required=${required} default=${D}`);
3333
isNothingFound = false;
3434
}
3535
}

0 commit comments

Comments
 (0)