File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/templates/server/config Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ var Thing = sqldb.Thing;
1515< % if ( filters . mongooseModels ) { % > Thing . find ( { } ) . removeAsync ( ) < % }
1616 if ( filters . sequelizeModels ) { % > Thing . sync ( )
1717 . then ( function ( ) {
18- return Thing . destroy ( ) ;
18+ return Thing . destroy ( { where : { } } ) ;
1919 } ) < % } % >
2020 . then ( function ( ) {
2121 < % if ( filters . mongooseModels ) { % > Thing . create ( { < % }
@@ -53,7 +53,7 @@ var Thing = sqldb.Thing;
5353< % if ( filters . mongooseModels ) { % > User . find ( { } ) . removeAsync ( ) < % }
5454 if ( filters . sequelizeModels ) { % > User . sync ( )
5555 . then ( function ( ) {
56- User . destroy ( ) ;
56+ return User . destroy ( { where : { } } ) ;
5757 } ) < % } % >
5858 . then ( function ( ) {
5959 < % if ( filters . mongooseModels ) { % > User . createAsync ( { < % }
You can’t perform that action at this time.
0 commit comments