mirror of
https://github.com/isledecomp/isle.pizza.git
synced 2026-05-01 18:23:56 +00:00
* Add multiplayer, cloud sync, crash reporting, scene player, and memories features * Fix multiplayer overlay showing "Waiting for ..." with no names * Fix OGL link in README * Update README with architecture, backend setup, environment variables, and CI docs * Fix save editor showing wrong name for orphaned save slots Players.gsi could fall out of sync with save files during cloud sync because the saveSlotWritten event only tracked the slot file and History.gsi for incremental upload, not Players.gsi. This caused slots without a matching Players.gsi entry to display the first player's name due to a fallback to index 0. - Track Players.gsi in saveSlotWritten handler for incremental uploads - Remove broken fallback to player index 0 in name resolution - Hide save slots with no Players.gsi entry from the save editor UI
16 lines
432 B
SQL
16 lines
432 B
SQL
-- Cloud save files (BLOBs)
|
|
CREATE TABLE IF NOT EXISTS user_saves (
|
|
user_id TEXT NOT NULL,
|
|
filename TEXT NOT NULL,
|
|
data BLOB NOT NULL,
|
|
updated_at TEXT NOT NULL DEFAULT (datetime('now')),
|
|
PRIMARY KEY (user_id, filename)
|
|
);
|
|
|
|
-- Cloud config (isle.ini text)
|
|
CREATE TABLE IF NOT EXISTS user_config (
|
|
user_id TEXT PRIMARY KEY,
|
|
ini_text TEXT NOT NULL,
|
|
updated_at TEXT NOT NULL DEFAULT (datetime('now'))
|
|
);
|