aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/db/migrations.py
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin/db/migrations.py')
-rw-r--r--mediagoblin/db/migrations.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mediagoblin/db/migrations.py b/mediagoblin/db/migrations.py
index 70bf6234..1cc4b625 100644
--- a/mediagoblin/db/migrations.py
+++ b/mediagoblin/db/migrations.py
@@ -1392,8 +1392,8 @@ def rename_and_remove_object_and_target(db):
new_target_column = activity_table.columns["temp_target"]
# rename them to the old names.
- new_object_column.alter(name="object")
- new_target_column.alter(name="target")
+ new_object_column.alter(name="object_id")
+ new_target_column.alter(name="target_id")
# Commit the changes to the database.
db.commit()