Fix factory bug that prevent from migrate db
Merge pull request #1 from bernardogfilho/factory-bug-fix

Fix factory bug that prevent from migrate db