From e0713d9ccf30b69d34fe1f885c710c1615a0d723 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Tue, 17 Feb 2015 19:42:11 -0600 Subject: [PATCH] This one should be dt_to_utc, not db_to_utc, I believe --- mediagoblin/db/migrations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediagoblin/db/migrations.py b/mediagoblin/db/migrations.py index 3102801e..886632de 100644 --- a/mediagoblin/db/migrations.py +++ b/mediagoblin/db/migrations.py @@ -1221,7 +1221,7 @@ def datetime_to_utc(db): notification_table = inspect_table(metadata, "core__notifications") for notification in db.execute(notification_table.select()): db.execute(notifiction_table.update().values( - created=db_to_utc(notification.created) + created=dt_to_utc(notification.created) ).where(notification_table.c.id==notification.id)) # Convert ReportBase -- 2.25.1