Adding a rails-like destroy option to the cli
Open
kind/feature-change
status/ready-to-define-implementation
toolkit
- Dominant language
- TypeScript
- Stars
- 14.1k
- Forks
- 803
- PR merge metrics
- No merged PRs in 30d
Description
### Discussed in https://github.com/blitz-js/blitz/discussions/3362
Originally posted by **lhocke** May 15, 2022
I'm definitely liking what I've seen of Blitz so far, but I'd love to see something similar to `rails destroy` and its alias `rails d` added to the cli. Right now removing a model requires editing the schema and running a new migration which is fine but a little clunky and adds extra steps when you might want to remove everything related to it. Having a way built into the cli to remove anything made by `blitz generate` would be really convenient.
Contributor guide
Assessment
This issue has not been assessed yet.