Skip to main content

Variable: LEGACY_DATABASE_NAME

const LEGACY_DATABASE_NAME: "-gamedb" = "-gamedb"

Defined in: packages/core/src/saves/legacy.ts:26

Name of the database every game wrote to before gameId reached the storage layer.

Remarks

The database name was built from the configured gameId, but it was built once, while the module was being imported - before Game.init() had applied any options. Every game therefore resolved the default empty id and shared this one database.