mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 20:37:21 +00:00
move postgres to a separate package
This commit is contained in:
@@ -49,10 +49,6 @@ export class SchemaManager {
|
||||
constructor(private readonly em: EntityManager<any>) {}
|
||||
|
||||
private getIntrospector() {
|
||||
if (!this.em.connection.supportsIndices()) {
|
||||
throw new Error("Indices are not supported by the current connection");
|
||||
}
|
||||
|
||||
return this.em.connection.getIntrospector();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user