tauri-apps / tauri-apps/plugins-workspace

tauri-plugin-sql: How to use "Down" migrations?

Open
#1,346 6 comments 10 reactions 0 assignees View on GitHub
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

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.