diff options
Diffstat (limited to 'pysite/migrations/tables/code_jams/v1.py')
-rw-r--r-- | pysite/migrations/tables/code_jams/v1.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/pysite/migrations/tables/code_jams/v1.py b/pysite/migrations/tables/code_jams/v1.py deleted file mode 100644 index cce3b112..00000000 --- a/pysite/migrations/tables/code_jams/v1.py +++ /dev/null @@ -1,11 +0,0 @@ -def run(db, table, table_obj): - """ - Add "teams" list to jams without it - """ - - for document in db.get_all(table): - if "teams" not in document: - document["teams"] = [] - - db.insert(table, document, conflict="replace", durability="soft") - db.sync(table) |