@inflector/optima-pg 1.0.4 → 1.0.5
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.js +0 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -602,10 +602,8 @@ var init = async (db, client, tables, isPGlite) => {
|
|
|
602
602
|
FOR EACH ROW EXECUTE FUNCTION notify_table_change();
|
|
603
603
|
`;
|
|
604
604
|
if (isPGlite) {
|
|
605
|
-
await client.query(tableSQL);
|
|
606
605
|
await client.query(triggerSQL);
|
|
607
606
|
} else {
|
|
608
|
-
await sql2.raw(tableSQL).execute(db);
|
|
609
607
|
await sql2.raw(triggerSQL).execute(db);
|
|
610
608
|
}
|
|
611
609
|
}
|