Fix missing rpop in the pets example #19

Merged
merged 1 commit into from Oct 28, 2014
+2 −2
View
4 Readme.md
@@ -1,4 +1,3 @@
-
# migrate
Abstract migration framework for node
@@ -55,6 +54,7 @@ The first call creates `./migrations/000-add-pets.js`, which we can populate:
exports.down = function(next){
db.rpop('pets');
+ db.rpop('pets');
db.rpop('pets', next);
};
@@ -131,4 +131,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.