Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

search for trees with style

Oleg Isonene997d7f1b1a2
diff --git a/mongo-migrations/breakpoints.js b/mongo-migrations/breakpoints.js
index bf62f2503f..3683de155d 100644
--- a/mongo-migrations/breakpoints.js
+++ b/mongo-migrations/breakpoints.js
@@ -27,7 +27,7 @@ const migrateTree = () => {
printjson(tree._id.toString());
};
- const cursor = db.Tree.find();
+ const cursor = db.Tree.find({ "root.style": { $exists: true } });
while (cursor.hasNext()) {
migrate(cursor.next());