From 8926c9497825e2a08ac14457df019524213d7e7b Mon Sep 17 00:00:00 2001 From: Aaron Williamson Date: Thu, 30 Aug 2012 16:55:31 -0400 Subject: [PATCH] Fixed migrations for Collection and CollectionItem tables --- mediagoblin/db/sql/migrations.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mediagoblin/db/sql/migrations.py b/mediagoblin/db/sql/migrations.py index 9a20efaf..35504ad0 100644 --- a/mediagoblin/db/sql/migrations.py +++ b/mediagoblin/db/sql/migrations.py @@ -16,10 +16,13 @@ import datetime -from sqlalchemy import MetaData, Table, Column, Boolean, SmallInteger, Integer +from sqlalchemy import (MetaData, Table, Column, Boolean, SmallInteger, + Integer, Unicode, UnicodeText, DateTime, ForeignKey) + + from mediagoblin.db.sql.util import RegisterMigration -from mediagoblin.db.sql.models import MediaEntry, Collection +from mediagoblin.db.sql.models import MediaEntry, Collection, User MIGRATIONS = {} -- 2.25.1