🔧 Renumber the preview migrations into the 0800s

The four preview migrations leave the 0155-0159 range, where
develop keeps registering new entries around them, and take
0800-0803. Upstream cannot force another mid-development renumber
now; the migrations take their final autoincrement numbers in one
rename when the feature merges into Penpot.

Renaming a migration registers it under a new name, so any
database that ran the old names drops the branching tables, or
deletes their migrations rows, before it boots this build. The
shared devenv database and the ws1 test database are in that
state on this machine.

AI-assisted-by: glm-5.3-flash
Signed-off-by: Álvaro Tejero Cantero <alvorithm@teje.ro>
This commit is contained in:
Álvaro Tejero Cantero 2026-10-14 17:49:30 +02:00
parent 6ab7b3ebd6
commit 4c86699424
No known key found for this signature in database
5 changed files with 8 additions and 8 deletions

View File

@ -525,17 +525,17 @@
{:name "0154-del-legacy-file-object-thumbnail-table"
:fn (mg/resource "app/migrations/sql/0154-del-legacy-file-object-thumbnail-table.sql")}
{:name "0155-add-file-branch-table"
:fn (mg/resource "app/migrations/sql/0155-add-file-branch-table.sql")}
{:name "0800-add-file-branch-table"
:fn (mg/resource "app/migrations/sql/0800-add-file-branch-table.sql")}
{:name "0156-add-file-pull-request-tables"
:fn (mg/resource "app/migrations/sql/0156-add-file-pull-request-tables.sql")}
{:name "0801-add-file-pull-request-tables"
:fn (mg/resource "app/migrations/sql/0801-add-file-pull-request-tables.sql")}
{:name "0157-add-file-branch-change-table"
:fn (mg/resource "app/migrations/sql/0157-add-file-branch-change-table.sql")}
{:name "0802-add-file-branch-change-table"
:fn (mg/resource "app/migrations/sql/0802-add-file-branch-change-table.sql")}
{:name "0159-add-file-branch-change-media-id-map"
:fn (mg/resource "app/migrations/sql/0159-add-file-branch-change-media-id-map.sql")}])
{:name "0803-add-file-branch-change-media-id-map"
:fn (mg/resource "app/migrations/sql/0803-add-file-branch-change-media-id-map.sql")}])
(defn apply-migrations!
[pool name migrations]