halvardssm/deno-nessie

Rollback using nessie v2 wiped my whole database

Closed this issue · 3 comments

the command:

deno run -A --unstable https://deno.land/x/nessie/cli.ts rollback

Screen Shot 2021-05-26 at 9 08 52 PM

in your v2 documentation you say it should only rollback 1 by default

Screen Shot 2021-05-26 at 9 10 56 PM

Hi @richardanaya ! Good thing you caught this! I wonder why the tests didn't catch this, but it seems like they are due for an improvement! I will get a hotfix out for this today 💪🏻

Released version 2.0.0-rc3! It should be fixed now, but let me know if you are still experiencing the issue

Verified fixed, and checked the other options too :)