aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/db/mongo/migrations.py
Commit message (Collapse)AuthorAgeFilesLines
* Drop debug from migration.Elrond2012-03-251-2/+0
|
* Migration fixup: Drop empty exif_all.Elrond2012-03-251-1/+7
| | | | | If the exif info is totally empty, do not add it at all to the media_data dict in mongo.
* Create migration to move exif data around in media_data.Elrond2012-03-251-0/+25
| | | | | | Move media_data['exif']['clean'] to media_data['exif_all'] drop media_data['exif']['useful'] drop media_data['exif']
* Removing print statements from convert_gps_media_data migrationChristopher Allan Webber2012-03-181-2/+0
| | | | | | Kind of useful to see but... I don't think they're needed, and I'm not super comfortable with print statements being in migrations. Seems semi bloated!
* Migration to move gps data aroundElrond2012-03-141-0/+18
| | | | | Move media_data["gps"]["*"] to media_data["gps_*"]. In preparation for media_data.gps_*
* Video media_data: Change layout in the mongo worldElrond2012-03-011-0/+14
| | | | | | | | | Change the media_data for video from entry.media_data["video"] to use entry.media_data directly. Also start a bare MediaEntry.media_data_init(**kwargs) method for setting up the media_data and possibly initialising it with kwargs.
* Drop pre-rendered html: MediaComment.content_htmlElrond2012-02-181-1/+6
| | | | | | | | | | | After a bit of discussion, we decided to drop the pre-rendered html from the database and render it on the fly. In another step, we will use some proper caching method to cache this stuff. This commit affects the MediaComment.content_html part.
* Drop pre-rendered html: MediaEntry.description_htmlElrond2012-02-181-6/+14
| | | | | | | | | | | After a bit of discussion, we decided to drop the pre-rendered html from the database and render it on the fly. In another step, we will use some proper caching method to cache this stuff. This commit affects the MediaEntry.description_html part.
* Drop pre-rendered html: User.bio_htmlElrond2012-02-181-0/+11
| | | | | | | | | | | After a bit of discussion, we decided to drop the pre-rendered html from the database and render it on the fly. In another step, we will use some proper caching method to cache this stuff. This commit affects the User.bio_html part.
* It's 2012 all up in hereChristopher Allan Webber2012-02-021-1/+1
|
* License "all rights reserved" default should be None/NULL, not empty stringChristopher Allan Webber2012-01-211-1/+1
|
* Added migration for license field, resolved conflict in db/sql/models.pyAaron Williamson2012-01-191-0/+7
|
* Move db/migrations.py -> db/mongo/migrations.pyElrond2011-12-201-0/+110
And change references.