store config in database, macro for state access
This commit is contained in:
1 parent
398916fe10
commit
61d674199f
10 files changed
+144
-38
No files matched your search
@@ -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),
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user