aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/db/sql/models.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2012-01-19 21:30:47 -0600
committerChristopher Allan Webber <cwebber@dustycloud.org>2012-01-29 16:33:46 -0600
commit780fdd7bd6c88b55ee7058d8156a0d233d997236 (patch)
treed31d8e122141b87cb4224650fbd174c4610eb884 /mediagoblin/db/sql/models.py
parentd6cdf64b4f498fabfcf8262c3f444b1d4c2147df (diff)
downloadmediagoblin-780fdd7bd6c88b55ee7058d8156a0d233d997236.tar.lz
mediagoblin-780fdd7bd6c88b55ee7058d8156a0d233d997236.tar.xz
mediagoblin-780fdd7bd6c88b55ee7058d8156a0d233d997236.zip
import changeset into sql models
Diffstat (limited to 'mediagoblin/db/sql/models.py')
-rw-r--r--mediagoblin/db/sql/models.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/mediagoblin/db/sql/models.py b/mediagoblin/db/sql/models.py
index ed733aff..41b8b490 100644
--- a/mediagoblin/db/sql/models.py
+++ b/mediagoblin/db/sql/models.py
@@ -29,6 +29,13 @@ from mediagoblin.db.sql.extratypes import PathTupleWithSlashes
from mediagoblin.db.sql.base import Base, DictReadAttrProxy
from mediagoblin.db.mixin import UserMixin, MediaEntryMixin
+# It's actually kind of annoying how sqlalchemy-migrate does this, if
+# I understand it right, but whatever. Anyway, don't remove this :P
+#
+# We could do migration calls more manually instead of relying on
+# this import-based meddling...
+from migrate import changeset
+
class SimpleFieldAlias(object):
"""An alias for any field"""