Left: | ||
Right: |
OLD | NEW |
---|---|
(Empty) | |
1 from charmworld.migrations.migrate import Versions | |
2 | |
3 # insert new questions | |
4 | |
5 def upgrade(db, index_client): | |
6 """Complete this function with work to be done for the migration/update. | |
7 | |
8 db is the pymongo db instance for our datastore. Charms are in db.charms | |
9 for instance. | |
10 | |
11 index_client is the ElasticSearch client. | |
12 """ | |
13 Versions.setup_qa_data(db) | |
OLD | NEW |