Just making a note of where the new migrations will go!
authorChristopher Allan Webber <cwebber@dustycloud.org>
Mon, 11 Jul 2011 03:58:48 +0000 (22:58 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Mon, 11 Jul 2011 03:58:48 +0000 (22:58 -0500)
mediagoblin/db/migrations.py

index 712f8ab44375906ecb8b3092c1c9bebdba55e24d..4cafb1a3cc64a18e4104b66ff0be404a396cb53b 100644 (file)
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 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):
         """