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.
|
|
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.
|
|
425
|
+
await db.query(\`
|
|
426
426
|
-- Your DOWN migration SQL
|
|
427
427
|
\`);
|
|
428
428
|
}
|
package/package.json
CHANGED