1 parent
32789b1d7d
commit
8025519039
24 files changed
+885
-19
No files matched your search
@@ -6,6 +6,7 @@ import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, Di
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { buildTransferObjectSelections, countTransferObjects } from "./transferSelections";
|
||||
import { createTaskLoadTracker } from "./taskLoadTracker";
|
||||
import { describeTransferStructureOperation, summarizeTransferStructureOperations } from "./structurePlanSummary";
|
||||
import {
|
||||
confirmTransferWithProductionSafety,
|
||||
createTransferSubmission,
|
||||
@@ -13,6 +14,7 @@ import {
|
||||
rebuildUnavailableReason,
|
||||
resolveTransferStrategy,
|
||||
supportsTransferUpsert,
|
||||
transferPlanReviewText,
|
||||
transferPreviewSql,
|
||||
transferStrategyOptions,
|
||||
TRANSFER_STRUCTURE_PREVIEW_UNAVAILABLE,
|
||||
@@ -1084,7 +1086,7 @@ const confirmationTitle = computed(() => {
|
||||
if (!confirmationRequest.value) return "";
|
||||
// A rebuild keeps its strategy title (it covers rename + create); a plain structure transfer
|
||||
// is titled by what the user is actually reviewing.
|
||||
return confirmationRequest.value.dropTargetBeforeCreate ? confirmationStrategy.value : t("transfer.structurePreviewTitle");
|
||||
return confirmationRequest.value.dropTargetBeforeCreate ? confirmationStrategy.value : t("transfer.structurePlanTitle");
|
||||
});
|
||||
/** The read-only SQL both confirmations review, composed so no operation is shown twice. */
|
||||
const confirmationSql = computed(() => (confirmationPreview.value ? transferPreviewSql(confirmationPreview.value) : ""));
|
||||
@@ -1096,12 +1098,43 @@ const confirmationDetails = computed(() => {
|
||||
const lines = [confirmationSummary.value];
|
||||
if (preview.rebuild) {
|
||||
const missingTargets = preview.rebuild.tables.some((table) => !table.backupTable);
|
||||
lines.push(t("transfer.rebuildSummary", { count: preview.rebuild.tables.length }));
|
||||
if (!preview.structure) lines.push(t("transfer.rebuildSummary", { count: preview.rebuild.tables.length }));
|
||||
if (missingTargets) lines.push(t("transfer.rebuildMissingTargets"));
|
||||
}
|
||||
if (preview.structure) {
|
||||
lines.push(t("transfer.structurePreviewSummary", { count: preview.structure.tables.length }));
|
||||
if (preview.structure.tables.some((table) => table.preexisting)) lines.push(t("transfer.structurePreviewPreexistingTargets"));
|
||||
const operations = preview.structure.operations ?? [];
|
||||
const operationSummary = summarizeTransferStructureOperations(operations);
|
||||
lines.push(t("transfer.structurePlanTitle"));
|
||||
|
||||
const createdCounts = [
|
||||
[operationSummary.createdSchemas, "structurePlanSchemas"],
|
||||
[operationSummary.createdTables, "structurePlanTables"],
|
||||
[operationSummary.indexes, "structurePlanIndexes"],
|
||||
[operationSummary.foreignKeys, "structurePlanForeignKeys"],
|
||||
[operationSummary.sequences, "structurePlanSequences"],
|
||||
[operationSummary.comments, "structurePlanComments"],
|
||||
] as const;
|
||||
const createdItems = createdCounts.filter(([count]) => count > 0).map(([count, label]) => `${count} ${t(`transfer.${label}`, count)}`);
|
||||
if (createdItems.length > 0) lines.push(`${t("transfer.structurePlanCreated")}: ${createdItems.join(" · ")}`);
|
||||
if (operationSummary.skippedTables > 0) {
|
||||
lines.push(`${t("transfer.structurePlanSkipped")}: ${operationSummary.skippedTables} ${t("transfer.structurePlanTables", operationSummary.skippedTables)}`);
|
||||
}
|
||||
if (operationSummary.rebuiltTables > 0) {
|
||||
lines.push(`${t("transfer.structurePlanRebuilt")}: ${operationSummary.rebuiltTables} ${t("transfer.structurePlanTables", operationSummary.rebuiltTables)}`);
|
||||
}
|
||||
if (operations.length > 0) {
|
||||
lines.push(t("transfer.plannedOperations"));
|
||||
lines.push(
|
||||
...operations.map((operation) => {
|
||||
const description = describeTransferStructureOperation(operation);
|
||||
const label = t(description.key, description.values);
|
||||
const suffix = description.suffixKey ? ` — ${t(description.suffixKey)}` : "";
|
||||
return `• ${label}${suffix}`;
|
||||
}),
|
||||
);
|
||||
}
|
||||
lines.push(t("transfer.structurePlanSqlPreview"));
|
||||
|
||||
const unexpandedObjects = request.objects.filter((selection) => selection.objectType !== "TABLE" && selection.names.length > 0);
|
||||
if (unexpandedObjects.length > 0) {
|
||||
lines.push(t("transfer.structurePreviewUnexpandedObjects", { objects: unexpandedObjects.map((selection) => selection.names.join(", ")).join("; ") }));
|
||||
@@ -1121,7 +1154,7 @@ function requestTransferConfirmation(request: api.TransferRequest, preview: api.
|
||||
confirmationRequest.value = request;
|
||||
confirmationPreview.value = preview;
|
||||
const reviewText = hasTransferSqlPreview(preview)
|
||||
? [confirmationStrategy.value, confirmationDetails.value, transferPreviewSql(preview)].filter(Boolean).join("\n\n")
|
||||
? transferPlanReviewText(confirmationStrategy.value, confirmationDetails.value, preview)
|
||||
: [confirmationSummary.value, `${t("transfer.targetTableHandling")}: ${confirmationStrategy.value}`, ...request.objects.map((selection) => selection.names.join(", "))].join("\n");
|
||||
return confirmTransferWithProductionSafety({
|
||||
request,
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import type { TransferStructureOperation } from "@/lib/backend/api";
|
||||
import { describeTransferStructureOperation, summarizeTransferStructureOperations } from "../structurePlanSummary";
|
||||
|
||||
function operation(kind: TransferStructureOperation["kind"], values: Partial<Omit<TransferStructureOperation, "kind">> = {}): TransferStructureOperation {
|
||||
return { kind, ...values };
|
||||
}
|
||||
|
||||
describe("transfer structure plan summary", () => {
|
||||
it("aggregates counts from operations and counts a sequence once across create and bind", () => {
|
||||
expect(
|
||||
summarizeTransferStructureOperations([
|
||||
operation("createSchema", { objectName: "reporting" }),
|
||||
operation("createTable", { sourceTable: "orders", targetTable: "orders" }),
|
||||
operation("createIndex", { objectName: "idx_orders_created_at" }),
|
||||
operation("addForeignKey", { objectName: "fk_orders_user" }),
|
||||
operation("createSequence", { objectName: "orders_id_seq" }),
|
||||
operation("bindSequence", { objectName: "orders_id_seq" }),
|
||||
operation("addComment"),
|
||||
operation("skipExistingTable", { targetTable: "users" }),
|
||||
operation("rebuildTable", { targetTable: "customers" }),
|
||||
]),
|
||||
).toEqual({
|
||||
createdSchemas: 1,
|
||||
createdTables: 1,
|
||||
indexes: 1,
|
||||
foreignKeys: 1,
|
||||
sequences: 1,
|
||||
comments: 1,
|
||||
skippedTables: 1,
|
||||
rebuiltTables: 1,
|
||||
});
|
||||
});
|
||||
|
||||
it("retains object names and source-to-target mapping in display descriptions", () => {
|
||||
expect(describeTransferStructureOperation(operation("createTable", { sourceTable: "orders", targetTable: "reporting.orders" }))).toEqual({
|
||||
key: "transfer.structureOperationCreateTable",
|
||||
values: { name: "orders → reporting.orders" },
|
||||
});
|
||||
expect(describeTransferStructureOperation(operation("createIndex", { objectName: "idx_orders_created_at", targetTable: "orders" }))).toEqual({
|
||||
key: "transfer.structureOperationCreateIndex",
|
||||
values: { name: "idx_orders_created_at", table: "orders" },
|
||||
});
|
||||
});
|
||||
|
||||
it("makes a skipped existing table explicit in the object list", () => {
|
||||
expect(describeTransferStructureOperation(operation("skipExistingTable", { targetTable: "users" }))).toEqual({
|
||||
key: "transfer.structureOperationSkipExistingTable",
|
||||
values: { name: "users" },
|
||||
suffixKey: "transfer.structurePlanTargetAlreadyExists",
|
||||
});
|
||||
});
|
||||
|
||||
it("describes rebuild and column comment operations without interpreting SQL", () => {
|
||||
expect(describeTransferStructureOperation(operation("rebuildTable", { targetTable: "customers" }))).toEqual({
|
||||
key: "transfer.structureOperationRebuildTable",
|
||||
values: { name: "customers" },
|
||||
});
|
||||
expect(describeTransferStructureOperation(operation("addComment", { objectName: "created_at", targetTable: "orders" }))).toEqual({
|
||||
key: "transfer.structureOperationAddColumnComment",
|
||||
values: { table: "orders", column: "created_at" },
|
||||
});
|
||||
});
|
||||
});
|
||||
+12
-2
@@ -1,6 +1,6 @@
|
||||
import { describe, expect, it, vi } from "vitest";
|
||||
import type { TransferOwnershipPreview, TransferRequest } from "@/lib/backend/api";
|
||||
import { createTransferSubmission, hasTransferSqlPreview, transferPreviewSql, TRANSFER_STRUCTURE_PREVIEW_UNAVAILABLE } from "../transferStrategy";
|
||||
import { createTransferSubmission, hasTransferSqlPreview, transferPlanReviewText, transferPreviewSql, TRANSFER_STRUCTURE_PREVIEW_UNAVAILABLE } from "../transferStrategy";
|
||||
|
||||
function structureRequest(overrides: Partial<TransferRequest> = {}): TransferRequest {
|
||||
return {
|
||||
@@ -27,7 +27,7 @@ function structureRequest(overrides: Partial<TransferRequest> = {}): TransferReq
|
||||
}
|
||||
|
||||
function structurePreview(sql = '-- orders -> reporting.orders\nCREATE TABLE "reporting"."orders" ("id" integer);'): TransferOwnershipPreview["structure"] {
|
||||
return { sql, tables: [{ sourceTable: "orders", targetTable: "reporting.orders", preexisting: false, sql }] };
|
||||
return { sql, tables: [{ sourceTable: "orders", targetTable: "reporting.orders", preexisting: false, sql }], operations: [] };
|
||||
}
|
||||
|
||||
function preview(overrides: Partial<TransferOwnershipPreview> = {}): TransferOwnershipPreview {
|
||||
@@ -70,6 +70,16 @@ describe("structure-only SQL preview", () => {
|
||||
expect(harness.executions[0]?.content).toBe("structureOnly");
|
||||
});
|
||||
|
||||
it("includes the operation summary before SQL in production review text", () => {
|
||||
const plan = preview();
|
||||
const reviewText = transferPlanReviewText("Keep existing tables", "Structure transfer plan\nPlanned operations\nCREATE table orders", plan);
|
||||
|
||||
expect(reviewText).toContain("Structure transfer plan");
|
||||
expect(reviewText).toContain("CREATE table orders");
|
||||
expect(reviewText).toContain('CREATE TABLE "reporting"."orders"');
|
||||
expect(reviewText.indexOf("Structure transfer plan")).toBeLessThan(reviewText.indexOf("CREATE TABLE"));
|
||||
});
|
||||
|
||||
it("does not execute when the SQL confirmation is cancelled", async () => {
|
||||
const harness = submissionHarness(async () => preview(), false);
|
||||
|
||||
|
||||
@@ -0,0 +1,104 @@
|
||||
import type { TransferStructureOperation } from "@/lib/backend/api";
|
||||
|
||||
export interface TransferStructureOperationSummary {
|
||||
createdSchemas: number;
|
||||
createdTables: number;
|
||||
indexes: number;
|
||||
foreignKeys: number;
|
||||
sequences: number;
|
||||
comments: number;
|
||||
skippedTables: number;
|
||||
rebuiltTables: number;
|
||||
}
|
||||
|
||||
export interface TransferStructureOperationDescription {
|
||||
key: string;
|
||||
values: Record<string, string>;
|
||||
suffixKey?: string;
|
||||
}
|
||||
|
||||
/** Aggregate only the planner's structured operations; this deliberately does not inspect SQL. */
|
||||
export function summarizeTransferStructureOperations(operations: readonly TransferStructureOperation[]): TransferStructureOperationSummary {
|
||||
const summary: TransferStructureOperationSummary = {
|
||||
createdSchemas: 0,
|
||||
createdTables: 0,
|
||||
indexes: 0,
|
||||
foreignKeys: 0,
|
||||
sequences: 0,
|
||||
comments: 0,
|
||||
skippedTables: 0,
|
||||
rebuiltTables: 0,
|
||||
};
|
||||
const sequenceNames = new Set<string>();
|
||||
let unnamedSequences = 0;
|
||||
|
||||
for (const operation of operations) {
|
||||
switch (operation.kind) {
|
||||
case "createSchema":
|
||||
summary.createdSchemas += 1;
|
||||
break;
|
||||
case "createTable":
|
||||
summary.createdTables += 1;
|
||||
break;
|
||||
case "skipExistingTable":
|
||||
summary.skippedTables += 1;
|
||||
break;
|
||||
case "rebuildTable":
|
||||
summary.rebuiltTables += 1;
|
||||
break;
|
||||
case "createIndex":
|
||||
summary.indexes += 1;
|
||||
break;
|
||||
case "addForeignKey":
|
||||
summary.foreignKeys += 1;
|
||||
break;
|
||||
case "createSequence":
|
||||
case "bindSequence":
|
||||
if (operation.objectName) sequenceNames.add(operation.objectName);
|
||||
else unnamedSequences += 1;
|
||||
break;
|
||||
case "addComment":
|
||||
summary.comments += 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
summary.sequences = sequenceNames.size + unnamedSequences;
|
||||
return summary;
|
||||
}
|
||||
|
||||
/** Convert an operation DTO into localized-message inputs without consulting SQL or UI state. */
|
||||
export function describeTransferStructureOperation(operation: TransferStructureOperation): TransferStructureOperationDescription {
|
||||
const table = operation.targetTable ?? operation.sourceTable ?? "";
|
||||
const mappedTable = operation.sourceTable && operation.targetTable && operation.sourceTable !== operation.targetTable ? `${operation.sourceTable} → ${operation.targetTable}` : table;
|
||||
const objectName = operation.objectName ?? "";
|
||||
|
||||
switch (operation.kind) {
|
||||
case "createSchema":
|
||||
return { key: "transfer.structureOperationCreateSchema", values: { name: objectName } };
|
||||
case "createTable":
|
||||
return { key: "transfer.structureOperationCreateTable", values: { name: mappedTable } };
|
||||
case "skipExistingTable":
|
||||
return {
|
||||
key: "transfer.structureOperationSkipExistingTable",
|
||||
values: { name: mappedTable },
|
||||
suffixKey: "transfer.structurePlanTargetAlreadyExists",
|
||||
};
|
||||
case "rebuildTable":
|
||||
return { key: "transfer.structureOperationRebuildTable", values: { name: mappedTable } };
|
||||
case "createIndex":
|
||||
return { key: "transfer.structureOperationCreateIndex", values: { name: objectName, table } };
|
||||
case "addForeignKey":
|
||||
return { key: "transfer.structureOperationAddForeignKey", values: { name: objectName, table } };
|
||||
case "createSequence":
|
||||
return { key: "transfer.structureOperationCreateSequence", values: { name: objectName } };
|
||||
case "bindSequence":
|
||||
return { key: "transfer.structureOperationBindSequence", values: { name: objectName, table } };
|
||||
case "addComment":
|
||||
return operation.objectName ? { key: "transfer.structureOperationAddColumnComment", values: { table, column: operation.objectName } } : { key: "transfer.structureOperationAddTableComment", values: { table } };
|
||||
default: {
|
||||
const exhaustiveCheck: never = operation.kind;
|
||||
return exhaustiveCheck;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -60,6 +60,11 @@ export function transferPreviewSql(preview: TransferOwnershipPreview): string {
|
||||
return preview.rebuild?.sql ?? "";
|
||||
}
|
||||
|
||||
/** Production review keeps the human-readable plan ahead of the exact SQL preview. */
|
||||
export function transferPlanReviewText(strategy: string, summary: string, preview: TransferOwnershipPreview): string {
|
||||
return [strategy, summary, transferPreviewSql(preview)].filter(Boolean).join("\n\n");
|
||||
}
|
||||
|
||||
/** Whether this preview has SQL the user must review in a read-only confirmation. */
|
||||
export function hasTransferSqlPreview(preview: TransferOwnershipPreview): boolean {
|
||||
return Boolean(preview.rebuild || preview.structure);
|
||||
|
||||
@@ -6004,6 +6004,29 @@ export default withEnglishFallback({
|
||||
rebuildDataOnlyDisabled: "Yalnız məlumat köçürmələri üçün yenidən qurma əlçatan deyil. Struktur və məlumatları və ya yalnız strukturu seçin.",
|
||||
rebuildUnsupportedDisabled: "Seçilmiş hədəf mühərriki hədəf cədvəllərin yenidən qurulmasını dəstəkləmir.",
|
||||
rebuildPreviewUnavailable: "Server tərəfi yenidən qurma planını təqdim etmədi. Köçürmə başlamayıb; yenidən qurmanı dəstəkləyən server tərəfi ilə önbaxışı yeniləyin.",
|
||||
structurePlanTitle: "Strukturun ötürülmə planı",
|
||||
plannedOperations: "Planlaşdırılmış əməliyyatlar",
|
||||
structurePlanCreated: "Yaradılacaq",
|
||||
structurePlanSkipped: "Ötürüləcək",
|
||||
structurePlanRebuilt: "Yenidən qurulacaq",
|
||||
structurePlanSchemas: "sxem | sxem",
|
||||
structurePlanTables: "cədvəl | cədvəl",
|
||||
structurePlanIndexes: "indeks | indeks",
|
||||
structurePlanForeignKeys: "xarici açar | xarici açar",
|
||||
structurePlanSequences: "ardıcıllıq | ardıcıllıq",
|
||||
structurePlanComments: "şərh | şərh",
|
||||
structurePlanTargetAlreadyExists: "hədəf artıq mövcuddur",
|
||||
structurePlanSqlPreview: "SQL önbaxışı",
|
||||
structureOperationCreateSchema: "SCHEMA yarat: {name}",
|
||||
structureOperationCreateTable: "CƏDVƏL yarat: {name}",
|
||||
structureOperationSkipExistingTable: "CƏDVƏLİ ötür: {name}",
|
||||
structureOperationRebuildTable: "CƏDVƏLİ yenidən qur: {name}",
|
||||
structureOperationCreateIndex: "İNDEKS yarat: {name} ({table})",
|
||||
structureOperationAddForeignKey: "XARİCİ AÇAR əlavə et: {name} ({table})",
|
||||
structureOperationCreateSequence: "ARDICILLIQ yarat: {name}",
|
||||
structureOperationBindSequence: "ARDICILLIĞI CƏDVƏLƏ bağla: {name} → {table}",
|
||||
structureOperationAddTableComment: "CƏDVƏLƏ ŞƏRH əlavə et: {table}",
|
||||
structureOperationAddColumnComment: "SÜTUNA ŞƏRH əlavə et: {table}.{column}",
|
||||
structurePreviewTitle: "Struktur SQL önbaxışı",
|
||||
structurePreviewDanger: "Bunlar köçürmənin hədəfdə icra edəcəyi struktur ifadələridir və yalnız oxumaq üçün göstərilir. Köçürmə başlayarkən DBX cari hədəf strukturunu yenidən yoxlayır, ona görə bu arada dəyişən hədəf son icra olunan ifadələri dəyişə bilər.",
|
||||
structurePreviewSummary: "{count} cədvəlin strukturu yaradılacaq və ya yenilənəcək.",
|
||||
|
||||
@@ -6847,6 +6847,29 @@ export default {
|
||||
rebuildUnsupportedDisabled: "The selected target engine does not support rebuilding target tables.",
|
||||
rebuildPreviewUnavailable: "The backend did not provide a rebuild plan. The transfer has not started; refresh the preview with a backend that supports rebuild.",
|
||||
rebuildMissingTargets: "Some target tables do not exist yet and will be created without a backup.",
|
||||
structurePlanTitle: "Structure transfer plan",
|
||||
plannedOperations: "Planned operations",
|
||||
structurePlanCreated: "Created",
|
||||
structurePlanSkipped: "Skipped",
|
||||
structurePlanRebuilt: "Rebuilt",
|
||||
structurePlanSchemas: "schema | schemas",
|
||||
structurePlanTables: "table | tables",
|
||||
structurePlanIndexes: "index | indexes",
|
||||
structurePlanForeignKeys: "foreign key | foreign keys",
|
||||
structurePlanSequences: "sequence | sequences",
|
||||
structurePlanComments: "comment | comments",
|
||||
structurePlanTargetAlreadyExists: "target already exists",
|
||||
structurePlanSqlPreview: "SQL Preview",
|
||||
structureOperationCreateSchema: "CREATE schema {name}",
|
||||
structureOperationCreateTable: "CREATE table {name}",
|
||||
structureOperationSkipExistingTable: "SKIP table {name}",
|
||||
structureOperationRebuildTable: "REBUILD table {name}",
|
||||
structureOperationCreateIndex: "CREATE index {name} ON {table}",
|
||||
structureOperationAddForeignKey: "ADD FK {name} ON {table}",
|
||||
structureOperationCreateSequence: "CREATE sequence {name}",
|
||||
structureOperationBindSequence: "BIND sequence {name} TO {table}",
|
||||
structureOperationAddTableComment: "ADD COMMENT ON table {table}",
|
||||
structureOperationAddColumnComment: "ADD COMMENT ON column {table}.{column}",
|
||||
structurePreviewTitle: "Structure SQL preview",
|
||||
structurePreviewDanger: "These are the structure statements this transfer is about to run on the target, shown read-only. DBX re-checks the current target structure when the transfer starts, so a target that changed in the meantime can change what finally runs.",
|
||||
structurePreviewSummary: "Structure will be created or updated for {count} table(s).",
|
||||
|
||||
@@ -6215,6 +6215,29 @@ export default withEnglishFallback({
|
||||
rebuildUnsupportedDisabled: "El motor de destino seleccionado no permite reconstruir las tablas de destino.",
|
||||
rebuildPreviewUnavailable: "El backend no devolvió un plan de reconstrucción. La transferencia no se ha iniciado; vuelva a obtener la vista previa con un backend compatible.",
|
||||
rebuildMissingTargets: "Algunas tablas de destino aún no existen y se crearán sin copia de seguridad.",
|
||||
structurePlanTitle: "Plan de transferencia de estructura",
|
||||
plannedOperations: "Operaciones planificadas",
|
||||
structurePlanCreated: "Creados",
|
||||
structurePlanSkipped: "Omitidos",
|
||||
structurePlanRebuilt: "Reconstruidos",
|
||||
structurePlanSchemas: "esquema | esquemas",
|
||||
structurePlanTables: "tabla | tablas",
|
||||
structurePlanIndexes: "índice | índices",
|
||||
structurePlanForeignKeys: "clave foránea | claves foráneas",
|
||||
structurePlanSequences: "secuencia | secuencias",
|
||||
structurePlanComments: "comentario | comentarios",
|
||||
structurePlanTargetAlreadyExists: "el destino ya existe",
|
||||
structurePlanSqlPreview: "Vista previa de SQL",
|
||||
structureOperationCreateSchema: "CREAR esquema {name}",
|
||||
structureOperationCreateTable: "CREAR tabla {name}",
|
||||
structureOperationSkipExistingTable: "OMITIR tabla {name}",
|
||||
structureOperationRebuildTable: "RECONSTRUIR tabla {name}",
|
||||
structureOperationCreateIndex: "CREAR índice {name} EN {table}",
|
||||
structureOperationAddForeignKey: "AÑADIR clave foránea {name} EN {table}",
|
||||
structureOperationCreateSequence: "CREAR secuencia {name}",
|
||||
structureOperationBindSequence: "ASOCIAR secuencia {name} A {table}",
|
||||
structureOperationAddTableComment: "AÑADIR comentario a la tabla {table}",
|
||||
structureOperationAddColumnComment: "AÑADIR comentario a la columna {table}.{column}",
|
||||
structurePreviewTitle: "Vista previa del SQL de estructura",
|
||||
structurePreviewDanger:
|
||||
"Estas son las sentencias de estructura que la transferencia ejecutará en el destino, mostradas solo para lectura. DBX vuelve a comprobar la estructura del destino al iniciar la transferencia, así que un destino que cambie mientras tanto puede cambiar lo que finalmente se ejecuta.",
|
||||
|
||||
@@ -6657,6 +6657,29 @@ export default withEnglishFallback({
|
||||
rebuildUnsupportedDisabled: "Engine target yang dipilih tidak mendukung pembangunan ulang tabel target.",
|
||||
rebuildPreviewUnavailable: "Backend tidak menyediakan rencana pembangunan ulang. Transfer belum dimulai; segarkan pratinjau dengan backend yang mendukung pembangunan ulang.",
|
||||
rebuildMissingTargets: "Beberapa tabel target belum ada dan akan dibuat tanpa cadangan.",
|
||||
structurePlanTitle: "Rencana transfer struktur",
|
||||
plannedOperations: "Operasi yang direncanakan",
|
||||
structurePlanCreated: "Dibuat",
|
||||
structurePlanSkipped: "Dilewati",
|
||||
structurePlanRebuilt: "Dibangun ulang",
|
||||
structurePlanSchemas: "skema | skema",
|
||||
structurePlanTables: "tabel | tabel",
|
||||
structurePlanIndexes: "indeks | indeks",
|
||||
structurePlanForeignKeys: "kunci asing | kunci asing",
|
||||
structurePlanSequences: "urutan | urutan",
|
||||
structurePlanComments: "komentar | komentar",
|
||||
structurePlanTargetAlreadyExists: "target sudah ada",
|
||||
structurePlanSqlPreview: "Pratinjau SQL",
|
||||
structureOperationCreateSchema: "BUAT skema {name}",
|
||||
structureOperationCreateTable: "BUAT tabel {name}",
|
||||
structureOperationSkipExistingTable: "LEWATI tabel {name}",
|
||||
structureOperationRebuildTable: "BANGUN ULANG tabel {name}",
|
||||
structureOperationCreateIndex: "BUAT indeks {name} PADA {table}",
|
||||
structureOperationAddForeignKey: "TAMBAHKAN kunci asing {name} PADA {table}",
|
||||
structureOperationCreateSequence: "BUAT urutan {name}",
|
||||
structureOperationBindSequence: "IKAT urutan {name} KE {table}",
|
||||
structureOperationAddTableComment: "TAMBAHKAN komentar tabel {table}",
|
||||
structureOperationAddColumnComment: "TAMBAHKAN komentar kolom {table}.{column}",
|
||||
structurePreviewTitle: "Pratinjau SQL struktur",
|
||||
structurePreviewDanger: "Ini adalah pernyataan struktur yang akan dijalankan transfer ini pada target, ditampilkan hanya untuk dibaca. DBX memeriksa ulang struktur target saat transfer dimulai, jadi target yang berubah di sela itu dapat mengubah pernyataan yang akhirnya dijalankan.",
|
||||
structurePreviewSummary: "Struktur akan dibuat atau diperbarui untuk {count} tabel.",
|
||||
|
||||
@@ -6031,6 +6031,29 @@ export default withEnglishFallback({
|
||||
rebuildUnsupportedDisabled: "Il motore di destinazione selezionato non supporta la ricostruzione delle tabelle di destinazione.",
|
||||
rebuildPreviewUnavailable: "Il backend non ha restituito un piano di ricostruzione. Il trasferimento non è iniziato; aggiornare l’anteprima con un backend compatibile.",
|
||||
rebuildMissingTargets: "Alcune tabelle di destinazione non esistono ancora e verranno create senza backup.",
|
||||
structurePlanTitle: "Piano di trasferimento della struttura",
|
||||
plannedOperations: "Operazioni pianificate",
|
||||
structurePlanCreated: "Creati",
|
||||
structurePlanSkipped: "Ignorati",
|
||||
structurePlanRebuilt: "Ricostruiti",
|
||||
structurePlanSchemas: "schema | schemi",
|
||||
structurePlanTables: "tabella | tabelle",
|
||||
structurePlanIndexes: "indice | indici",
|
||||
structurePlanForeignKeys: "chiave esterna | chiavi esterne",
|
||||
structurePlanSequences: "sequenza | sequenze",
|
||||
structurePlanComments: "commento | commenti",
|
||||
structurePlanTargetAlreadyExists: "la destinazione esiste già",
|
||||
structurePlanSqlPreview: "Anteprima SQL",
|
||||
structureOperationCreateSchema: "CREA schema {name}",
|
||||
structureOperationCreateTable: "CREA tabella {name}",
|
||||
structureOperationSkipExistingTable: "IGNORA tabella {name}",
|
||||
structureOperationRebuildTable: "RICOSTRUISCI tabella {name}",
|
||||
structureOperationCreateIndex: "CREA indice {name} SU {table}",
|
||||
structureOperationAddForeignKey: "AGGIUNGI chiave esterna {name} SU {table}",
|
||||
structureOperationCreateSequence: "CREA sequenza {name}",
|
||||
structureOperationBindSequence: "COLLEGA sequenza {name} A {table}",
|
||||
structureOperationAddTableComment: "AGGIUNGI commento alla tabella {table}",
|
||||
structureOperationAddColumnComment: "AGGIUNGI commento alla colonna {table}.{column}",
|
||||
structurePreviewTitle: "Anteprima SQL della struttura",
|
||||
structurePreviewDanger:
|
||||
"Queste sono le istruzioni di struttura che il trasferimento eseguirà sulla destinazione, mostrate in sola lettura. DBX ricontrolla la struttura di destinazione all'avvio del trasferimento, quindi una destinazione modificata nel frattempo può cambiare ciò che viene effettivamente eseguito.",
|
||||
|
||||
@@ -6053,6 +6053,29 @@ export default withEnglishFallback({
|
||||
rebuildUnsupportedDisabled: "選択したターゲットエンジンはテーブルの再構築をサポートしていません。",
|
||||
rebuildPreviewUnavailable: "バックエンドから再構築計画が返されなかったため、転送は開始されていません。再構築プレビューに対応したバックエンドで再試行してください。",
|
||||
rebuildMissingTargets: "存在しないターゲットテーブルがあります。バックアップなしで直接作成されます。",
|
||||
structurePlanTitle: "構造転送計画",
|
||||
plannedOperations: "計画された操作",
|
||||
structurePlanCreated: "作成",
|
||||
structurePlanSkipped: "スキップ",
|
||||
structurePlanRebuilt: "再構築",
|
||||
structurePlanSchemas: "スキーマ | スキーマ",
|
||||
structurePlanTables: "テーブル | テーブル",
|
||||
structurePlanIndexes: "インデックス | インデックス",
|
||||
structurePlanForeignKeys: "外部キー | 外部キー",
|
||||
structurePlanSequences: "シーケンス | シーケンス",
|
||||
structurePlanComments: "コメント | コメント",
|
||||
structurePlanTargetAlreadyExists: "ターゲットは既に存在します",
|
||||
structurePlanSqlPreview: "SQL プレビュー",
|
||||
structureOperationCreateSchema: "スキーマを作成: {name}",
|
||||
structureOperationCreateTable: "テーブルを作成: {name}",
|
||||
structureOperationSkipExistingTable: "テーブルをスキップ: {name}",
|
||||
structureOperationRebuildTable: "テーブルを再構築: {name}",
|
||||
structureOperationCreateIndex: "インデックスを作成: {name}(テーブル: {table})",
|
||||
structureOperationAddForeignKey: "外部キーを追加: {name}(テーブル: {table})",
|
||||
structureOperationCreateSequence: "シーケンスを作成: {name}",
|
||||
structureOperationBindSequence: "シーケンス {name} を {table} に関連付け",
|
||||
structureOperationAddTableComment: "テーブルコメントを追加: {table}",
|
||||
structureOperationAddColumnComment: "列コメントを追加: {table}.{column}",
|
||||
structurePreviewTitle: "構造 SQL プレビュー",
|
||||
structurePreviewDanger: "これは今回の転送でターゲットに対して実行される構造ステートメントの読み取り専用プレビューです。転送開始時に DBX が現在のターゲット構造を再確認するため、その間にターゲットが変更された場合は実際に実行されるステートメントが変わる可能性があります。",
|
||||
structurePreviewSummary: "{count} 件のテーブルの構造を作成または更新します。",
|
||||
|
||||
@@ -5824,6 +5824,29 @@ export default withEnglishFallback({
|
||||
rebuildUnsupportedDisabled: "선택한 대상 엔진은 대상 테이블 재구축을 지원하지 않습니다.",
|
||||
rebuildPreviewUnavailable: "백엔드가 재구축 계획을 반환하지 않아 전송을 시작하지 않았습니다. 재구축 미리 보기를 지원하는 백엔드에서 다시 시도하세요.",
|
||||
rebuildMissingTargets: "존재하지 않는 대상 테이블이 있습니다. 백업 없이 바로 생성됩니다.",
|
||||
structurePlanTitle: "구조 전송 계획",
|
||||
plannedOperations: "계획된 작업",
|
||||
structurePlanCreated: "생성됨",
|
||||
structurePlanSkipped: "건너뜀",
|
||||
structurePlanRebuilt: "재구성됨",
|
||||
structurePlanSchemas: "개 스키마 | 개 스키마",
|
||||
structurePlanTables: "개 테이블 | 개 테이블",
|
||||
structurePlanIndexes: "개 인덱스 | 개 인덱스",
|
||||
structurePlanForeignKeys: "개 외래 키 | 개 외래 키",
|
||||
structurePlanSequences: "개 시퀀스 | 개 시퀀스",
|
||||
structurePlanComments: "개 주석 | 개 주석",
|
||||
structurePlanTargetAlreadyExists: "대상이 이미 존재함",
|
||||
structurePlanSqlPreview: "SQL 미리 보기",
|
||||
structureOperationCreateSchema: "스키마 생성: {name}",
|
||||
structureOperationCreateTable: "테이블 생성: {name}",
|
||||
structureOperationSkipExistingTable: "테이블 건너뛰기: {name}",
|
||||
structureOperationRebuildTable: "테이블 재구성: {name}",
|
||||
structureOperationCreateIndex: "인덱스 생성: {name} (테이블: {table})",
|
||||
structureOperationAddForeignKey: "외래 키 추가: {name} (테이블: {table})",
|
||||
structureOperationCreateSequence: "시퀀스 생성: {name}",
|
||||
structureOperationBindSequence: "시퀀스 {name}을(를) {table}에 연결",
|
||||
structureOperationAddTableComment: "테이블 주석 추가: {table}",
|
||||
structureOperationAddColumnComment: "열 주석 추가: {table}.{column}",
|
||||
structurePreviewTitle: "구조 SQL 미리 보기",
|
||||
structurePreviewDanger: "이것은 이번 전송이 대상에 실행할 구조 문의 읽기 전용 미리 보기입니다. 전송을 시작할 때 DBX가 현재 대상 구조를 다시 확인하므로, 그 사이 대상이 변경되면 실제 실행되는 문이 달라질 수 있습니다.",
|
||||
structurePreviewSummary: "{count}개 테이블의 구조를 만들거나 갱신합니다.",
|
||||
|
||||
@@ -6033,6 +6033,29 @@ export default withEnglishFallback({
|
||||
rebuildUnsupportedDisabled: "O mecanismo de destino selecionado não oferece suporte à reconstrução das tabelas de destino.",
|
||||
rebuildPreviewUnavailable: "O backend não retornou um plano de reconstrução. A transferência não foi iniciada; atualize a prévia com um backend compatível.",
|
||||
rebuildMissingTargets: "Algumas tabelas de destino ainda não existem e serão criadas sem backup.",
|
||||
structurePlanTitle: "Plano de transferência de estrutura",
|
||||
plannedOperations: "Operações planejadas",
|
||||
structurePlanCreated: "Criados",
|
||||
structurePlanSkipped: "Ignorados",
|
||||
structurePlanRebuilt: "Reconstruídos",
|
||||
structurePlanSchemas: "schema | schemas",
|
||||
structurePlanTables: "tabela | tabelas",
|
||||
structurePlanIndexes: "índice | índices",
|
||||
structurePlanForeignKeys: "chave estrangeira | chaves estrangeiras",
|
||||
structurePlanSequences: "sequência | sequências",
|
||||
structurePlanComments: "comentário | comentários",
|
||||
structurePlanTargetAlreadyExists: "o destino já existe",
|
||||
structurePlanSqlPreview: "Prévia do SQL",
|
||||
structureOperationCreateSchema: "CRIAR schema {name}",
|
||||
structureOperationCreateTable: "CRIAR tabela {name}",
|
||||
structureOperationSkipExistingTable: "IGNORAR tabela {name}",
|
||||
structureOperationRebuildTable: "RECONSTRUIR tabela {name}",
|
||||
structureOperationCreateIndex: "CRIAR índice {name} EM {table}",
|
||||
structureOperationAddForeignKey: "ADICIONAR chave estrangeira {name} EM {table}",
|
||||
structureOperationCreateSequence: "CRIAR sequência {name}",
|
||||
structureOperationBindSequence: "VINCULAR sequência {name} A {table}",
|
||||
structureOperationAddTableComment: "ADICIONAR comentário à tabela {table}",
|
||||
structureOperationAddColumnComment: "ADICIONAR comentário à coluna {table}.{column}",
|
||||
structurePreviewTitle: "Prévia do SQL de estrutura",
|
||||
structurePreviewDanger: "Estas são as instruções de estrutura que a transferência executará no destino, exibidas somente para leitura. O DBX revalida a estrutura de destino ao iniciar a transferência, então um destino alterado nesse intervalo pode mudar o que será executado.",
|
||||
structurePreviewSummary: "A estrutura será criada ou atualizada em {count} tabela(s).",
|
||||
|
||||
@@ -7213,6 +7213,29 @@ export default withEnglishFallback({
|
||||
rebuildUnsupportedDisabled: "Выбранный целевой движок не поддерживает перестроение целевых таблиц.",
|
||||
rebuildPreviewUnavailable: "Серверная часть не предоставила план перестроения. Перенос не начат; обновите предпросмотр на серверной части с поддержкой перестроения.",
|
||||
rebuildMissingTargets: "Некоторые целевые таблицы ещё не существуют и будут созданы без резервной копии.",
|
||||
structurePlanTitle: "План переноса структуры",
|
||||
plannedOperations: "Запланированные операции",
|
||||
structurePlanCreated: "Создано",
|
||||
structurePlanSkipped: "Пропущено",
|
||||
structurePlanRebuilt: "Перестроено",
|
||||
structurePlanSchemas: "схема | схемы | схем",
|
||||
structurePlanTables: "таблица | таблицы | таблиц",
|
||||
structurePlanIndexes: "индекс | индекса | индексов",
|
||||
structurePlanForeignKeys: "внешний ключ | внешних ключа | внешних ключей",
|
||||
structurePlanSequences: "последовательность | последовательности | последовательностей",
|
||||
structurePlanComments: "комментарий | комментария | комментариев",
|
||||
structurePlanTargetAlreadyExists: "цель уже существует",
|
||||
structurePlanSqlPreview: "Предпросмотр SQL",
|
||||
structureOperationCreateSchema: "СОЗДАТЬ схему {name}",
|
||||
structureOperationCreateTable: "СОЗДАТЬ таблицу {name}",
|
||||
structureOperationSkipExistingTable: "ПРОПУСТИТЬ таблицу {name}",
|
||||
structureOperationRebuildTable: "ПЕРЕСТРОИТЬ таблицу {name}",
|
||||
structureOperationCreateIndex: "СОЗДАТЬ индекс {name} ДЛЯ {table}",
|
||||
structureOperationAddForeignKey: "ДОБАВИТЬ внешний ключ {name} ДЛЯ {table}",
|
||||
structureOperationCreateSequence: "СОЗДАТЬ последовательность {name}",
|
||||
structureOperationBindSequence: "ПРИВЯЗАТЬ последовательность {name} К {table}",
|
||||
structureOperationAddTableComment: "ДОБАВИТЬ комментарий к таблице {table}",
|
||||
structureOperationAddColumnComment: "ДОБАВИТЬ комментарий к столбцу {table}.{column}",
|
||||
structurePreviewTitle: "Предпросмотр SQL структуры",
|
||||
structurePreviewDanger: "Это доступные только для чтения структурные операторы, которые перенос выполнит на цели. При запуске переноса DBX заново проверяет текущую структуру целевой базы, поэтому изменённая за это время цель может привести к другим фактическим операторам.",
|
||||
structurePreviewSummary: "Структура будет создана или обновлена для таблиц: {count}.",
|
||||
|
||||
@@ -5919,6 +5919,29 @@ export default withEnglishFallback({
|
||||
ownershipSkipDetails: "Atla seçeneği, nesne sahipliği değiştirme ifadelerini çalıştırmaz. Tablo verisi ve diğer yapı eşitlemesi devam eder.",
|
||||
ownershipTargetOwner: "Onayla seçeneği, sahibi eksik nesneleri hedef bağlantı kullanıcısına atar: {owner}.",
|
||||
ownershipSkip: "Atla",
|
||||
structurePlanTitle: "Yapı aktarım planı",
|
||||
plannedOperations: "Planlanan işlemler",
|
||||
structurePlanCreated: "Oluşturulacak",
|
||||
structurePlanSkipped: "Atlanacak",
|
||||
structurePlanRebuilt: "Yeniden oluşturulacak",
|
||||
structurePlanSchemas: "şema | şema",
|
||||
structurePlanTables: "tablo | tablo",
|
||||
structurePlanIndexes: "indeks | indeks",
|
||||
structurePlanForeignKeys: "yabancı anahtar | yabancı anahtar",
|
||||
structurePlanSequences: "sıra | sıra",
|
||||
structurePlanComments: "yorum | yorum",
|
||||
structurePlanTargetAlreadyExists: "hedef zaten mevcut",
|
||||
structurePlanSqlPreview: "SQL önizlemesi",
|
||||
structureOperationCreateSchema: "ŞEMA OLUŞTUR: {name}",
|
||||
structureOperationCreateTable: "TABLO OLUŞTUR: {name}",
|
||||
structureOperationSkipExistingTable: "TABLOYU ATLA: {name}",
|
||||
structureOperationRebuildTable: "TABLOYU YENİDEN OLUŞTUR: {name}",
|
||||
structureOperationCreateIndex: "İNDEKS OLUŞTUR: {name} ({table})",
|
||||
structureOperationAddForeignKey: "YABANCI ANAHTAR EKLE: {name} ({table})",
|
||||
structureOperationCreateSequence: "SIRA OLUŞTUR: {name}",
|
||||
structureOperationBindSequence: "SIRAYI TABLOYA BAĞLA: {name} → {table}",
|
||||
structureOperationAddTableComment: "TABLOYA YORUM EKLE: {table}",
|
||||
structureOperationAddColumnComment: "SÜTUNA YORUM EKLE: {table}.{column}",
|
||||
structurePreviewTitle: "Yapı SQL önizlemesi",
|
||||
structurePreviewDanger: "Bunlar bu aktarımın hedefte çalıştıracağı yapı ifadeleridir ve yalnızca okunmak üzere gösterilir. Aktarım başlarken DBX güncel hedef yapısını yeniden denetler; bu arada değişen bir hedef, sonunda çalışan ifadeleri değiştirebilir.",
|
||||
structurePreviewSummary: "{count} tablonun yapısı oluşturulacak veya güncellenecek.",
|
||||
|
||||
@@ -6833,6 +6833,29 @@ export default withEnglishFallback({
|
||||
rebuildUnsupportedDisabled: "当前目标引擎不支持重建目标表。",
|
||||
rebuildPreviewUnavailable: "后端未返回重建计划,传输尚未开始。请使用支持重建预览的后端后重新预览。",
|
||||
rebuildMissingTargets: "部分目标表尚不存在,将直接创建(无备份)。",
|
||||
structurePlanTitle: "结构传输计划",
|
||||
plannedOperations: "计划操作",
|
||||
structurePlanCreated: "已创建",
|
||||
structurePlanSkipped: "已跳过",
|
||||
structurePlanRebuilt: "已重建",
|
||||
structurePlanSchemas: "个 Schema | 个 Schema",
|
||||
structurePlanTables: "张表 | 张表",
|
||||
structurePlanIndexes: "个索引 | 个索引",
|
||||
structurePlanForeignKeys: "个外键 | 个外键",
|
||||
structurePlanSequences: "个序列 | 个序列",
|
||||
structurePlanComments: "条注释 | 条注释",
|
||||
structurePlanTargetAlreadyExists: "目标已存在",
|
||||
structurePlanSqlPreview: "SQL 预览",
|
||||
structureOperationCreateSchema: "创建 Schema:{name}",
|
||||
structureOperationCreateTable: "创建表:{name}",
|
||||
structureOperationSkipExistingTable: "跳过表:{name}",
|
||||
structureOperationRebuildTable: "重建表:{name}",
|
||||
structureOperationCreateIndex: "创建索引:{name}(表:{table})",
|
||||
structureOperationAddForeignKey: "添加外键:{name}(表:{table})",
|
||||
structureOperationCreateSequence: "创建序列:{name}",
|
||||
structureOperationBindSequence: "绑定序列:{name} → {table}",
|
||||
structureOperationAddTableComment: "添加表注释:{table}",
|
||||
structureOperationAddColumnComment: "添加列注释:{table}.{column}",
|
||||
structurePreviewTitle: "结构 SQL 预览",
|
||||
structurePreviewDanger: "以下是本次传输即将在目标端执行的结构语句,仅只读展示。开始传输时 DBX 会重新检查当前目标结构,若目标在此期间发生变化,最终执行的语句可能与预览不同。",
|
||||
structurePreviewSummary: "将为 {count} 张表创建或更新结构。",
|
||||
|
||||
@@ -5364,6 +5364,29 @@ export default withEnglishFallback({
|
||||
rebuildUnsupportedDisabled: "目前目標引擎不支援重建目標表。",
|
||||
rebuildPreviewUnavailable: "後端未傳回重建計畫,傳輸尚未開始。請使用支援重建預覽的後端後重新預覽。",
|
||||
rebuildMissingTargets: "部分目標資料表尚不存在,將直接建立(無備份)。",
|
||||
structurePlanTitle: "結構傳輸計畫",
|
||||
plannedOperations: "計畫操作",
|
||||
structurePlanCreated: "已建立",
|
||||
structurePlanSkipped: "已略過",
|
||||
structurePlanRebuilt: "已重建",
|
||||
structurePlanSchemas: "個 Schema | 個 Schema",
|
||||
structurePlanTables: "個資料表 | 個資料表",
|
||||
structurePlanIndexes: "個索引 | 個索引",
|
||||
structurePlanForeignKeys: "個外鍵 | 個外鍵",
|
||||
structurePlanSequences: "個序列 | 個序列",
|
||||
structurePlanComments: "則註解 | 則註解",
|
||||
structurePlanTargetAlreadyExists: "目標已存在",
|
||||
structurePlanSqlPreview: "SQL 預覽",
|
||||
structureOperationCreateSchema: "建立 Schema:{name}",
|
||||
structureOperationCreateTable: "建立資料表:{name}",
|
||||
structureOperationSkipExistingTable: "略過資料表:{name}",
|
||||
structureOperationRebuildTable: "重建資料表:{name}",
|
||||
structureOperationCreateIndex: "建立索引:{name}(資料表:{table})",
|
||||
structureOperationAddForeignKey: "新增外鍵:{name}(資料表:{table})",
|
||||
structureOperationCreateSequence: "建立序列:{name}",
|
||||
structureOperationBindSequence: "將序列 {name} 綁定至 {table}",
|
||||
structureOperationAddTableComment: "新增資料表註解:{table}",
|
||||
structureOperationAddColumnComment: "新增欄位註解:{table}.{column}",
|
||||
structurePreviewTitle: "結構 SQL 預覽",
|
||||
structurePreviewDanger: "以下是本次傳輸即將在目標端執行的結構語句,僅供唯讀檢視。開始傳輸時 DBX 會重新檢查目前的目標結構;若目標在這段期間發生變化,最終執行的語句可能與預覽不同。",
|
||||
structurePreviewSummary: "將為 {count} 個資料表建立或更新結構。",
|
||||
|
||||
@@ -1111,6 +1111,8 @@ export type {
|
||||
TransferObjectSelection,
|
||||
TransferTableNameCase,
|
||||
TransferOwnershipPolicy,
|
||||
TransferStructureOperation,
|
||||
TransferStructureOperationKind,
|
||||
TransferOwnershipPreview,
|
||||
TableImportMode,
|
||||
TableImportConflictPolicy,
|
||||
|
||||
@@ -5494,9 +5494,19 @@ export interface TransferStructurePreviewTable {
|
||||
sql: string;
|
||||
}
|
||||
|
||||
export type TransferStructureOperationKind = "createSchema" | "createTable" | "skipExistingTable" | "rebuildTable" | "createIndex" | "addForeignKey" | "createSequence" | "bindSequence" | "addComment";
|
||||
|
||||
export interface TransferStructureOperation {
|
||||
kind: TransferStructureOperationKind;
|
||||
objectName?: string;
|
||||
sourceTable?: string;
|
||||
targetTable?: string;
|
||||
}
|
||||
|
||||
export interface TransferStructurePreview {
|
||||
sql: string;
|
||||
tables: TransferStructurePreviewTable[];
|
||||
operations: TransferStructureOperation[];
|
||||
}
|
||||
|
||||
export interface TransferOwnershipPreview {
|
||||
|
||||
Reference in new issue
Block a user