appwrite-utils-cli 0.9.76 → 0.9.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -71,7 +71,9 @@ export const createOrUpdateAttribute = async (db, dbId, collection, attribute) =
|
|
71
71
|
return;
|
72
72
|
}
|
73
73
|
else if (foundAttribute && !attributesSame(foundAttribute, attribute) && updateEnabled) {
|
74
|
-
console.log(
|
74
|
+
// console.log(
|
75
|
+
// `Updating attribute with same key ${attribute.key} but different values`
|
76
|
+
// );
|
75
77
|
finalAttribute = attribute;
|
76
78
|
action = "update";
|
77
79
|
}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "appwrite-utils-cli",
|
3
3
|
"description": "Appwrite Utility Functions to help with database management, data conversion, data import, migrations, and much more. Meant to be used as a CLI tool, I do not recommend installing this in frontend environments.",
|
4
|
-
"version": "0.9.
|
4
|
+
"version": "0.9.77",
|
5
5
|
"main": "src/main.ts",
|
6
6
|
"type": "module",
|
7
7
|
"repository": {
|
@@ -93,9 +93,9 @@ export const createOrUpdateAttribute = async (
|
|
93
93
|
// No need to do anything, they are the same
|
94
94
|
return;
|
95
95
|
} else if (foundAttribute && !attributesSame(foundAttribute, attribute) && updateEnabled) {
|
96
|
-
console.log(
|
97
|
-
|
98
|
-
);
|
96
|
+
// console.log(
|
97
|
+
// `Updating attribute with same key ${attribute.key} but different values`
|
98
|
+
// );
|
99
99
|
finalAttribute = attribute;
|
100
100
|
action = "update";
|
101
101
|
} else if (!updateEnabled && foundAttribute && !attributesSame(foundAttribute, attribute)) {
|