@zenstackhq/cli 3.4.0 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +11 -11
package/dist/index.cjs
CHANGED
|
@@ -1460,7 +1460,6 @@ __name(parseEnumValues, "parseEnumValues");
|
|
|
1460
1460
|
|
|
1461
1461
|
// src/actions/pull/provider/postgresql.ts
|
|
1462
1462
|
var import_factory3 = require("@zenstackhq/language/factory");
|
|
1463
|
-
var import_pg = require("pg");
|
|
1464
1463
|
var pgTypnameToStandard = {
|
|
1465
1464
|
int2: "smallint",
|
|
1466
1465
|
int4: "integer",
|
|
@@ -1630,7 +1629,8 @@ var postgresql = {
|
|
|
1630
1629
|
}
|
|
1631
1630
|
},
|
|
1632
1631
|
async introspect(connectionString, options) {
|
|
1633
|
-
const
|
|
1632
|
+
const { Client } = await import("pg");
|
|
1633
|
+
const client = new Client({
|
|
1634
1634
|
connectionString
|
|
1635
1635
|
});
|
|
1636
1636
|
await client.connect();
|