Files
DarkflameServer/migrations/dlu/sqlite/91_bbb_autosave_held.sql
Aaron Kimbrell f4241782e7 fix(bbb): an autosave that can't be rebuilt is kept and not loaded again
Rebuilding a brick by brick autosave when a character loads no longer
stops the world when the save can't be read, splits into more models
than any build does, or fails to store: the save is logged and marked
held (bbb_autosave.held_at), the open models and bricks go back, and the
row stays as it is. A held autosave is not rebuilt again; the client's
next autosave replaces it. A brick by brick save that fails to store
answers with ModelGenerationFailed instead of stopping the world.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 06:56:49 -06:00

3 lines
124 B
SQL

/* bbb_autosave.held_at: see the MySQL migration. */
ALTER TABLE bbb_autosave ADD COLUMN held_at BIGINT NOT NULL DEFAULT 0;