Skip to content
This repository was archived by the owner on Aug 13, 2021. It is now read-only.

autoIncrement not working #16

Open
KeKs0r opened this issue Jan 10, 2015 · 2 comments
Open

autoIncrement not working #16

KeKs0r opened this issue Jan 10, 2015 · 2 comments
Assignees

Comments

@KeKs0r
Copy link

KeKs0r commented Jan 10, 2015

I have some tests in my application that use the waterline-fixtures and as soon as i manually add a record (in my test) the autoIncrement counter is somehow reset. So if my fixtures are adding records they e.g. create 2 records with id 1 and 2. Then in my test case I am also adding a record to the same collection and this record gets the id 1 as well. Although it should get the id 3.

@dcbartlett
Copy link
Contributor

+1

@dcbartlett
Copy link
Contributor

@sgress454 @particlebanana @mikermcneil Can we get this looked at, We have a PR submitted for a proposed solution. PR #20

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants