Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Update CHANGELOG.md

Updating changelog with a description of how to upgrade existing mongoid_collection_snapshots from version 0.1.0 to 0.2.0.
  • Loading branch information...
commit 1f35c6897c0d6a46ab8b9e3e319f071975e5c0ff 1 parent 2f1c947
Aaron Windsor authored November 08, 2012

Showing 1 changed file with 9 additions and 2 deletions. Show diff stats Hide diff stats

  1. 11  CHANGELOG.md
11  CHANGELOG.md
Source Rendered
... ...
@@ -1,5 +1,12 @@
1  
-Next Release (0.2.0)
2  
-====================
  1
+Version 0.2.0
  2
+=============
  3
+
  4
+Important note for those upgrading from 0.1.0 (pre-Mongoid 3.0) to 0.2.0 (Mongoid 3.x): you'll need to upgrade any
  5
+existing snapshots created by mongoid_collection_snapshot 0.1.0 in your database before they're usable. You can
  6
+do this by renaming the 'workspace_slug' attribute to 'slug' in MongoDB after upgrading. For example,
  7
+to upgrade the snapshot class "MySnapshot", you'd enter the following at the mongo shell:
  8
+
  9
+    db.my_snapshot.rename({'workspace_slug': {'$exists': true}}, {'$rename': {'workspace_slug': 'slug'}})
3 10
 
4 11
 * Added ability to maintain a snapshot of multiple collections atomically - [@aaw](https://github.com/aaw).
5 12
 * Added support for [Mongoid 3.0](https://github.com/mongoid/mongoid) - [@dblock](https://github.com/dblock).

0 notes on commit 1f35c68

Please sign in to comment.
Something went wrong with that request. Please try again.