Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
15 lines
1019 B
Plaintext
15 lines
1019 B
Plaintext
export const downSQL: " // Test predefined migration DOWN from payload package\n payload.logger.info('Test migration DOWN from payload package executed')";
|
|
/**
|
|
* Test predefined migration for testing plugin-style module specifier imports.
|
|
* This is used in integration tests to verify that external packages (without @payloadcms/db-* prefix)
|
|
* can export predefined migrations via their package.json exports.
|
|
*
|
|
* This tests the second code path in getPredefinedMigration.ts (lines 56-72)
|
|
*
|
|
* NOTE: This is a .js file (not .ts) because Node.js with --no-experimental-strip-types
|
|
* cannot import .ts files via module specifiers. Absolute file paths work because Vitest's
|
|
* loader intercepts file:// URLs, but module specifiers are resolved by Node.js first.
|
|
*/
|
|
export const imports: "";
|
|
export const upSQL: " // Test predefined migration from payload/__testing__/predefinedMigration\n payload.logger.info('Test migration UP from payload package executed')";
|
|
//# sourceMappingURL=predefinedMigration.d.ts.map |