<commit_before>// Update to add 'isWritable' property to layers

// --- !Ups
db.dataSets.update({}, {"$unset" : {"dataSource" : ""}}, {"multi" : true})

// --- !Downs
db.dataSets.update({}, {"$unset" : {"dataSource" : ""}}, {"multi" : true})
<commit_msg>update userDataLayers in evolution, #506<commit_after>// Update to add 'isWritable' property to layers

// --- !Ups
db.dataSets.update({}, {"$unset" : {"dataSource" : ""}}, {"multi" : true})
db.userDataLayers.update({}, {"$set": {"dataLayer.mappings": []}}, {"multi" : true})

// --- !Downs
db.dataSets.update({}, {"$unset" : {"dataSource" : ""}}, {"multi" : true})
db.userDataLayers.update({}, {"$unset": {"dataLayer.mappings": ""}}, {"multi" : true})

{'fraction_non_alphanumeric': 0.28005657708628007, 'fraction_numerical': 0.004243281471004243, 'mean_word_length': 4.664, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3059904', 'n_tokens_mistral': 258, 'n_tokens_neox': 252, 'n_words': 54}