These are chat archives for Automattic/mongoose

20th
May 2015
Alberto Restifo
@albertorestifo
May 20 2015 09:25
I'm having an interesting issue
I have changed a Schema that I already used with the database
even if the schema collection is empty, mogoose still uses the old schema definition to validate the created documents
When I completely changed database, it went as expected.
Am I missing something?
Erinç Fırtına
@EricMcRay
May 20 2015 09:27
did you clear indexes from collection?
Alberto Restifo
@albertorestifo
May 20 2015 09:27
I knew I was missing something. Thanks
Erinç Fırtına
@EricMcRay
May 20 2015 09:27
you welcome