File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Adapters/Storage/Postgres Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -807,14 +807,14 @@ export class PostgresStorageAdapter {
807
807
const queries = classes . map ( className => ( { query : 'DROP TABLE IF EXISTS $<className:name>' , values : { className} } ) ) ;
808
808
yield t . tx ( tx => tx . none ( helpers . concat ( queries ) ) ) ;
809
809
} catch ( error ) {
810
- if ( error . code !== PostgresRelationDoesNotExistError ) {
810
+ if ( error . code !== PostgresRelationDoesNotExistError ) {
811
811
throw error ;
812
812
}
813
813
// No _SCHEMA collection. Don't delete anything.
814
814
}
815
815
} ) . then ( ( ) => {
816
816
debug ( `deleteAllClasses done in ${ new Date ( ) . getTime ( ) - now } ` ) ;
817
- } ) ;
817
+ } ) ;
818
818
}
819
819
820
820
// Remove the column and all the data. For Relations, the _Join collection is handled
You can’t perform that action at this time.
0 commit comments