Home / Function/ drop.handler() — drizzle-orm Function Reference

drop.handler() — drizzle-orm Function Reference

Architecture documentation for the drop.handler() function in schema.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  c0a6d9e9_7fc7_f2f9_8914_70f0c4f8233f["drop.handler()"]
  5bf76609_579e_d312_b33b_ab5b8b683111["schema.ts"]
  c0a6d9e9_7fc7_f2f9_8914_70f0c4f8233f -->|defined in| 5bf76609_579e_d312_b33b_ab5b8b683111
  f2f9c6b8_d549_9373_9f11_ab0b6ee7eea1["assertOrmCoreVersion()"]
  c0a6d9e9_7fc7_f2f9_8914_70f0c4f8233f -->|calls| f2f9c6b8_d549_9373_9f11_ab0b6ee7eea1
  5f10022b_622b_eb8e_812e_30a6459027c8["assertV1OutFolder()"]
  c0a6d9e9_7fc7_f2f9_8914_70f0c4f8233f -->|calls| 5f10022b_622b_eb8e_812e_30a6459027c8
  9db4762b_73d0_9f4c_0b4a_81e3441cd04e["dropMigration()"]
  c0a6d9e9_7fc7_f2f9_8914_70f0c4f8233f -->|calls| 9db4762b_73d0_9f4c_0b4a_81e3441cd04e
  style c0a6d9e9_7fc7_f2f9_8914_70f0c4f8233f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-kit/src/cli/schema.ts lines 644–649

	handler: async (config) => {
		await assertOrmCoreVersion();

		assertV1OutFolder(config.out);
		await dropMigration(config);
	},

Domain

Subdomains

Frequently Asked Questions

What does drop.handler() do?
drop.handler() is a function in the drizzle-orm codebase, defined in drizzle-kit/src/cli/schema.ts.
Where is drop.handler() defined?
drop.handler() is defined in drizzle-kit/src/cli/schema.ts at line 644.
What does drop.handler() call?
drop.handler() calls 3 function(s): assertOrmCoreVersion, assertV1OutFolder, dropMigration.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free