Skip to content

Commit 7981faa

Browse files
authored
Update PostgresStorageAdapter.js
removing extra spaces.
1 parent 9b4e283 commit 7981faa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Adapters/Storage/Postgres/PostgresStorageAdapter.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -807,14 +807,14 @@ export class PostgresStorageAdapter {
807807
const queries = classes.map(className => ({query: 'DROP TABLE IF EXISTS $<className:name>', values: {className}}));
808808
yield t.tx(tx => tx.none(helpers.concat(queries)));
809809
} catch(error) {
810-
if (error.code !== PostgresRelationDoesNotExistError) {
810+
if (error.code !== PostgresRelationDoesNotExistError) {
811811
throw error;
812812
}
813813
// No _SCHEMA collection. Don't delete anything.
814814
}
815815
}).then(() => {
816816
debug(`deleteAllClasses done in ${new Date().getTime() - now}`);
817-
});
817+
});
818818
}
819819

820820
// Remove the column and all the data. For Relations, the _Join collection is handled

0 commit comments

Comments
 (0)