Fixed migrations for Collection and CollectionItem tables
authorAaron Williamson <aaron@copiesofcopies.org>
Thu, 30 Aug 2012 20:55:31 +0000 (16:55 -0400)
committerJoar Wandborg <git@wandborg.com>
Tue, 18 Sep 2012 16:10:36 +0000 (18:10 +0200)
mediagoblin/db/sql/migrations.py

index 9a20efaf8620e249308e40bdc45bdecd0af5a4b5..35504ad0e3bb865fe822ab921a3aac9318e4f229 100644 (file)
 
 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 = {}