Module veloren_server::persistence
source ยท Expand description
DB operations and schema migrations
Modulesยง
- character ๐Database operations related to character data
- diesel_to_rusqlite ๐
- embedded ๐
- Consolidates rusqlite and validation errors under a common error type
- json_models ๐
- models ๐
Structsยง
- A struct of the components that are persisted to the DB for each character
- VelorenConnection ๐A database connection blessed by Veloren.
Enumsยง
Functionsยง
- establish_connection ๐
- Runs any pending database migrations. This is executed during server startup
- set_log_mode ๐
- Runs after the migrations. In some cases, it can reclaim a significant amount of space (reported 30%)