Skip to main content

Module settings

Module settings 

Source
Expand description

The retired settings table, kept only to drop it.

Its one row was the /spinner override, retired when the spinner left the core - nothing reads or writes the table now, so there is nothing to drain before drop_table removes it.

The same shape as crate::store::model_catalog, whose test pins the absent-table behaviour this relies on rather than pinning it twice.

Re-exportsยง

use redb::TableDefinition; ๐Ÿ”’
use super::Db; ๐Ÿ”’

Constantsยง

SETTINGS ๐Ÿ”’

Functionsยง

drop_table
Remove the table. Returns whether a table was there to drop. Callers compact afterwards, because dropping a table reclaims nothing on its own.