Just making a note of where the new migrations will go!
This commit is contained in:
parent
ff94114c5d
commit
0c915735d5
@ -15,10 +15,21 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from mediagoblin.util import cleaned_markdown_conversion
|
from mediagoblin.util import cleaned_markdown_conversion
|
||||||
|
# from mediagoblin.db.util import RegisterMigration
|
||||||
|
|
||||||
from mongokit import DocumentMigration
|
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):
|
class MediaEntryMigration(DocumentMigration):
|
||||||
def allmigration01_uploader_to_reference(self):
|
def allmigration01_uploader_to_reference(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user