mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 08:26:00 +01:00
* 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>
7 lines
No EOL
376 B
Markdown
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. |