Scaffold

Destroy a scaffold generated by vela generate scaffold.

Syntax

$ vela destroy scaffold <model>
$ vela destroy scaffold pets

Removes the CRUD routes, the schema and the database collection. The model name is the one used when the scaffold was generated.

Options

  • -y, --yes - Skip the confirmation prompt
  • --route <route> - The custom route the scaffold was generated at. Must match the --route used at generation.
$ vela destroy scaffold projects --route "(app)/[team_id]/projects"