feat(transfer): add rebuild structure and data mode

This commit is contained in:
HolyeTyrone authored and GitHub committed 2026-09-08 16:46:39 +08:00
1 parent 2b2d1f0d95
commit 538aeed99c
37 files changed
+6720 -404

No files matched your search

+7
View File
@@ -4626,11 +4626,18 @@ export interface TransferRequest {
quoteTargetColumnNames: boolean;
ownershipPolicy?: TransferOwnershipPolicy;
batchSize: number;
dropTargetBeforeCreate: boolean;
dropTargetConfirmed: boolean;
}
export interface TransferOwnershipPreview {
missingOwners: string[];
targetOwner: string;
rebuild?: {
sql: string;
tables: Array<{ sourceTable: string; targetTable: string; backupTable?: string }>;
warnings: string[];
};
}
export interface TransferProgress {