acess_token->access_token
authorChristopher Allan Webber <cwebber@dustycloud.org>
Wed, 18 Feb 2015 01:44:58 +0000 (19:44 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Wed, 18 Feb 2015 01:44:58 +0000 (19:44 -0600)
mediagoblin/db/migrations.py

index 1ef5f9cb3e19697a09ec0afd85ba00f4165eea1f..8e54953e211a51cfe41470bc42f9099d26903ee9 100644 (file)
@@ -1171,7 +1171,7 @@ def datetime_to_utc(db):
     at_table = inspect_table(metadata, "core__access_tokens")
     for access_token in db.execute(at_table.select()):
         db.execute(at_table.update().values(
-            created=dt_to_utc(acess_token.created),
+            created=dt_to_utc(access_token.created),
             updated=dt_to_utc(access_token.updated)
         ).where(at_table.c.id==access_token.id))