tauri-apps / tauri-apps/plugins-workspace
tauri-plugin-sql: How to use "Down" migrations?
Open
plugin: sql
type: question
- Dominant language
- Rust
- Stars
- 1.8k
- Forks
- 602
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 9
Description
In the SQL plugin, how do I run the "Down" migrations? What are all of the situations in which these will be ran (uninstall, manually, etc)?
For example:
```
Migration {
version: 2,
description: "drop_service_table",
sql: "DROP TABLE service",
kind: MigrationKind::Down,
}
```
Contributor guide
Assessment
This issue has not been assessed yet.