Skip to content

Commit

Permalink
Add upgrade note
Browse files Browse the repository at this point in the history
  • Loading branch information
mhart committed Jul 9, 2018
1 parent f0cc9ce commit a5d4bb9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Expand Up @@ -9,14 +9,14 @@ An implementation of Amazon's DynamoDB, focussed on correctness and performance,
This project aims to match the live DynamoDB instances as closely as possible
(and is tested against them in various regions), including all limits and error messages.

NB: Schema changes in v1.x
NB: Schema changes in v2.x
--------------------------

If you've been using v0.x with a saved path on your filesystem, you should note
that the schema has been changed to separate out indexes. This means that if
you have tables with indexes on the old schema, you'll need to update them –
this should just be a matter of getting each item and writing it again – a
Scan/BatchWriteItem loop should suffice to populate the indexes correctly.
If you've been using v1.x or v0.x or with a saved path on your filesystem, you
should note that key schema may have changed with the move from
`level-sublevel` to `subleveldown`. The safest way to deal with this is to
export your DB to JSON using Scans, then upgrade and import with BatchWrites
into the new version.

Why not Amazon's DynamoDB Local?
--------------------------------
Expand Down

0 comments on commit a5d4bb9

Please sign in to comment.