aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/migrations/tables/code_jam_teams
diff options
context:
space:
mode:
authorGravatar momothereal <[email protected]>2018-06-23 18:08:16 -0400
committerGravatar momothereal <[email protected]>2018-06-23 18:08:16 -0400
commit2734934c3c21e46c22a967a9a69713d418269e55 (patch)
tree8921e33ab5ab7bf64cfb7f9aa6e2c8db749d9fe7 /pysite/migrations/tables/code_jam_teams
parent[Jams/Teams] Simplify getting the code jam for a team (team -> jam) (diff)
[Jams/Teams] De-associate delete teams from jams
Diffstat (limited to 'pysite/migrations/tables/code_jam_teams')
-rw-r--r--pysite/migrations/tables/code_jam_teams/v1.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pysite/migrations/tables/code_jam_teams/v1.py b/pysite/migrations/tables/code_jam_teams/v1.py
index 563a146b..165d3100 100644
--- a/pysite/migrations/tables/code_jam_teams/v1.py
+++ b/pysite/migrations/tables/code_jam_teams/v1.py
@@ -10,3 +10,4 @@ def run(db, table, table_obj):
if document["id"] in jam["teams"]:
document["jam"] = jam["number"]
db.insert(table, document, conflict="update", durability="soft")
+ db.sync(table)