store config in database, macro for state access
This commit is contained in:
@@ -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