store config in database, macro for state access

This commit is contained in:
Joseph Montanaro committed 2022-12-22 16:36:32 -08:00
1 parent 398916fe10
commit 61d674199f
10 files changed
+144 -38

No files matched your search

+3 -1
View File
@@ -18,7 +18,9 @@ pub enum SetupError {
#[error("Error from database: {0}")]
DbError(#[from] SqlxError),
#[error("Error running migrations: {0}")]
MigrationError(#[from] MigrateError)
MigrationError(#[from] MigrateError),
#[error("Error parsing configuration from database")]
ConfigParseError(#[from] serde_json::Error),
}