From 0c915735d5053a75037165105723848c17415ec8 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sun, 10 Jul 2011 22:58:48 -0500 Subject: [PATCH] Just making a note of where the new migrations will go! --- mediagoblin/db/migrations.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mediagoblin/db/migrations.py b/mediagoblin/db/migrations.py index 712f8ab4..4cafb1a3 100644 --- a/mediagoblin/db/migrations.py +++ b/mediagoblin/db/migrations.py @@ -15,10 +15,21 @@ # along with this program. If not, see . from mediagoblin.util import cleaned_markdown_conversion +# from mediagoblin.db.util import RegisterMigration from mongokit import DocumentMigration +# This is where the first new-style migration will be written! +# +# Please see mediagoblin/tests/test_migrations.py for some examples of +# basic migrations. + +# @RegisterMigration(1) +# def do_something(database): +# pass + + class MediaEntryMigration(DocumentMigration): def allmigration01_uploader_to_reference(self): """