linkgress-orm 0.3.0 → 0.3.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.
@@ -415,14 +415,14 @@ ${contextImport}
415
415
  export default class implements Migration {
416
416
  async up(db: ${contextType}): Promise<void> {
417
417
  // Add your migration SQL here
418
- await db.getClient().querySimple(\`
418
+ await db.query(\`
419
419
  -- Your UP migration SQL
420
420
  \`);
421
421
  }
422
422
 
423
423
  async down(db: ${contextType}): Promise<void> {
424
424
  // Add your rollback SQL here
425
- await db.getClient().querySimple(\`
425
+ await db.query(\`
426
426
  -- Your DOWN migration SQL
427
427
  \`);
428
428
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linkgress-orm",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "A lightweight, type-safe ORM for PostgreSQL with LINQ-style queries and automatic type inference",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",