blitz-js / blitz-js/blitz

Adding a rails-like destroy option to the cli

Open
#3,367 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.