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
23 lines
664 B
Plaintext
23 lines
664 B
Plaintext
import type { Payload, PayloadRequest } from 'payload';
|
|
type Args = {
|
|
debug?: boolean;
|
|
payload: Payload;
|
|
req?: Partial<PayloadRequest>;
|
|
};
|
|
/**
|
|
* Moves upload and relationship columns from the join table and into the tables while moving data
|
|
* This is done in the following order:
|
|
* ADD COLUMNs
|
|
* -- manipulate data to move relationships to new columns
|
|
* ADD CONSTRAINTs
|
|
* NOT NULLs
|
|
* DROP TABLEs
|
|
* DROP CONSTRAINTs
|
|
* DROP COLUMNs
|
|
* @param debug
|
|
* @param payload
|
|
* @param req
|
|
*/
|
|
export declare const migratePostgresV2toV3: ({ debug, payload, req }: Args) => Promise<void>;
|
|
export {};
|
|
//# sourceMappingURL=index.d.ts.map |