Originally created by: msmeeks
I just went through the Intro to Ming tutorial and I think that the Specifying a Migration section may be out of date.
First, when I change extract the tags and categories out of the metadata attribute, reload the tutorial and do a find().all() the doc says that an invalid error should occur. However, when I ran the query, I got a result set back with blank tags and categories and no metadata attribute instead of an error.
Second, when I add the migration pieces to tutorial.py, reload and perform the query I get the following results:
[{'version': None}, {'version': None}, {'version': None}]
Originally by: msmeeks
Found my problem:copy and paste. I just copy the code snippet with the old wiki page and the updated wiki page with the migrate and version stuff and pasted it over the entire previous model. So, I lost all the fields other than version.
It looks like the doc is not out of date.