columnsResolver() — drizzle-orm Function Reference
Architecture documentation for the columnsResolver() function in migrate.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 3b2eccf9_35d1_b2cc_b116_520f2f3c5d92["columnsResolver()"] b14d3855_8cce_38c9_8952_a9d014c2fb1b["migrate.ts"] 3b2eccf9_35d1_b2cc_b116_520f2f3c5d92 -->|defined in| b14d3855_8cce_38c9_8952_a9d014c2fb1b c7a398db_43c9_7771_09b7_73bc09e703e8["applyPgSnapshotsDiff()"] c7a398db_43c9_7771_09b7_73bc09e703e8 -->|calls| 3b2eccf9_35d1_b2cc_b116_520f2f3c5d92 a5972ffc_ff1b_9523_2495_5373af710e65["applyMysqlSnapshotsDiff()"] a5972ffc_ff1b_9523_2495_5373af710e65 -->|calls| 3b2eccf9_35d1_b2cc_b116_520f2f3c5d92 d4992b27_bf78_8099_5134_750cef1c518c["applySingleStoreSnapshotsDiff()"] d4992b27_bf78_8099_5134_750cef1c518c -->|calls| 3b2eccf9_35d1_b2cc_b116_520f2f3c5d92 d9097b7e_1e27_d29f_7732_f2fa1447f2b8["applySqliteSnapshotsDiff()"] d9097b7e_1e27_d29f_7732_f2fa1447f2b8 -->|calls| 3b2eccf9_35d1_b2cc_b116_520f2f3c5d92 55569cde_7638_9cfc_9dcd_34636d975ec3["applyLibSQLSnapshotsDiff()"] 55569cde_7638_9cfc_9dcd_34636d975ec3 -->|calls| 3b2eccf9_35d1_b2cc_b116_520f2f3c5d92 92852bb1_43bb_8fbe_8998_29fab18c9f74["promptColumnsConflicts()"] 3b2eccf9_35d1_b2cc_b116_520f2f3c5d92 -->|calls| 92852bb1_43bb_8fbe_8998_29fab18c9f74 style 3b2eccf9_35d1_b2cc_b116_520f2f3c5d92 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-kit/src/cli/commands/migrate.ts lines 285–300
export const columnsResolver = async (
input: ColumnsResolverInput<Column>,
): Promise<ColumnsResolverOutput<Column>> => {
const result = await promptColumnsConflicts(
input.tableName,
input.created,
input.deleted,
);
return {
tableName: input.tableName,
schema: input.schema,
created: result.created,
deleted: result.deleted,
renamed: result.renamed,
};
};
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does columnsResolver() do?
columnsResolver() is a function in the drizzle-orm codebase, defined in drizzle-kit/src/cli/commands/migrate.ts.
Where is columnsResolver() defined?
columnsResolver() is defined in drizzle-kit/src/cli/commands/migrate.ts at line 285.
What does columnsResolver() call?
columnsResolver() calls 1 function(s): promptColumnsConflicts.
What calls columnsResolver()?
columnsResolver() is called by 5 function(s): applyLibSQLSnapshotsDiff, applyMysqlSnapshotsDiff, applyPgSnapshotsDiff, applySingleStoreSnapshotsDiff, applySqliteSnapshotsDiff.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free