stash/pkg/sqlite/migrations/README.md
Gykes f434c1f529
Feature: Support Multiple URLs in Studios (#6223)
* Backend support for studio URLs
* FrontEnd addition
* Support URLs in BulkStudioUpdate
* Update tagger modal for URLs
---------
Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
2025-11-10 14:34:21 +11:00

7 lines
No EOL
376 B
Markdown

# Creating a migration
1. Create new migration file in the migrations directory with the format `NN_description.up.sql`, where `NN` is the next sequential number.
2. Update `pkg/sqlite/database.go` to update the `appSchemaVersion` value to the new migration number.
For migrations requiring complex logic or config file changes, see existing custom migrations for examples.