diff options
author | Rodney Ewing <ewing.rj@gmail.com> | 2013-08-19 12:58:00 -0700 |
---|---|---|
committer | Rodney Ewing <ewing.rj@gmail.com> | 2013-08-19 15:26:06 -0700 |
commit | b505952508f717e0d4f59d24c87a54ef42673c3f (patch) | |
tree | 0955cd1cb729329b71e5ffa6dfec3906c96227a9 /mediagoblin/db/models.py | |
parent | 65875f24e431c6efe9a74fe62ece06452ff7cf72 (diff) | |
download | mediagoblin-b505952508f717e0d4f59d24c87a54ef42673c3f.tar.lz mediagoblin-b505952508f717e0d4f59d24c87a54ef42673c3f.tar.xz mediagoblin-b505952508f717e0d4f59d24c87a54ef42673c3f.zip |
-update to latest master
- have mg generate task_id
remove
Diffstat (limited to 'mediagoblin/db/models.py')
-rw-r--r-- | mediagoblin/db/models.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mediagoblin/db/models.py b/mediagoblin/db/models.py index f0cbce2a..9cb39ff4 100644 --- a/mediagoblin/db/models.py +++ b/mediagoblin/db/models.py @@ -146,7 +146,7 @@ class RequestToken(Base): callback = Column(Unicode, nullable=False, default=u"oob") created = Column(DateTime, nullable=False, default=datetime.datetime.now) updated = Column(DateTime, nullable=False, default=datetime.datetime.now) - + class AccessToken(Base): """ Model for representing the access tokens @@ -159,7 +159,7 @@ class AccessToken(Base): request_token = Column(Unicode, ForeignKey(RequestToken.token)) created = Column(DateTime, nullable=False, default=datetime.datetime.now) updated = Column(DateTime, nullable=False, default=datetime.datetime.now) - + class NonceTimestamp(Base): """ @@ -646,13 +646,13 @@ with_polymorphic( [ProcessingNotification, CommentNotification]) MODELS = [ - User, Client, RequestToken, AccessToken, NonceTimestamp, MediaEntry, Tag, - MediaTag, MediaComment, Collection, CollectionItem, MediaFile, FileKeynames, + User, Client, RequestToken, AccessToken, NonceTimestamp, MediaEntry, Tag, + MediaTag, MediaComment, Collection, CollectionItem, MediaFile, FileKeynames, MediaAttachmentFile, ProcessingMetaData, Notification, CommentNotification, ProcessingNotification, CommentSubscription] """ - Foundations are the default rows that are created immediately after the tables + Foundations are the default rows that are created immediately after the tables are initialized. Each entry to this dictionary should be in the format of: ModelConstructorObject:List of Dictionaries (Each Dictionary represents a row on the Table to be created, containing each |