Remove database requirement (#427)

This commit is contained in:
Geometrically
2022-08-17 22:06:28 -07:00
committed by GitHub
parent ac3a17b178
commit 76c0fa2fe2
2 changed files with 26 additions and 117 deletions

View File

@@ -28,11 +28,6 @@ pub enum DatabaseError {
Database(#[from] sqlx::error::Error),
#[error("Error while trying to generate random ID")]
RandomId,
#[error(
"Invalid identifier: Category/version names must contain only ASCII \
alphanumeric characters or '_-+'."
)]
InvalidIdentifier(String),
#[error("Invalid permissions bitflag!")]
Bitflag,
#[error("A database request failed")]