Schema

Destroy a Zod schema generated by vela generate schema.

Syntax

$ vela destroy schema <model>
$ vela destroy schema category

Removes the schema file from src/lib/schemas. The database collection, if there is one, is left alone — use resource for that.

Options

  • -y, --yes - Skip the confirmation prompt