mirror of
https://github.com/stashapp/Stash-Docs.git
synced 2025-12-11 12:42:31 -06:00
793 B
793 B
layout, title, nav_order, parent
| layout | title | nav_order | parent |
|---|---|---|---|
| clean | Manually Editing the Stash Sqlite3 Database | 3 | Advanced Tutorials |
Table of Contents
{: .text-delta } 1. TOC {:toc}Location
The Stash Sqlite3 database file is located at ~/.stash/stash-go.sqlite.
Before making changes to the Stash sqlite3 database - please make a backup first!
You can use the sqlite3 client to directly edit this file.
Opening the database file
cd ~/.stash
sqlite3 stash-go.sqlite
Deleting all tags
If you need to delete all tags, you can use the following commands:
sqlite> DELETE FROM scenes_tags;
sqlite> DELETE FROM tags;
Please note that this will not work if you have Scene marker tags (TODO: What to do then?)