models:teardown
rai models:teardown [OPTIONS]Drop the current model or branch and all its data.
Targets the current model (deployment.schema, set via
rai models switch) and resets deployment.schema to its parent
(or clears it if the model had no parent).
Options
| Option | Type | Description |
|---|---|---|
--force | Boolean | Actually perform the teardown. Without it, the command only prints what would be dropped. Default: False. |
--allow-unmerged | Boolean | Tear down even if the branch has unmerged changes (discards them). Default: False. |
--allow-children | Boolean | Tear down even if downstream branches exist (orphans them). Default: False. |