|
@@ -113,7 +113,7 @@ class MongoDbMigrationHandler(GenericMigrationHandler):
|
113
|
113
|
|
114
|
114
|
if basic_type == 'datetime':
|
115
|
115
|
if 'now_on_create' in options and options['now_on_create']:
|
116
|
|
- return {'default': datetime.datetime.utcnow()} # TODO format the datetime to a MongoDB friendly format
|
|
116
|
+ return {'default': datetime.datetime.utcnow()}
|
117
|
117
|
if basic_type == 'relation':
|
118
|
118
|
return {'default' : []}
|
119
|
119
|
|