add: block list stacks
This commit is contained in:
parent
9bb5f38f76
commit
b71ae1f5a4
28 changed files with 700 additions and 219 deletions
|
@ -35,6 +35,7 @@ impl DataManager {
|
|||
execute!(&conn, common::CREATE_TABLE_POLLS).unwrap();
|
||||
execute!(&conn, common::CREATE_TABLE_POLLVOTES).unwrap();
|
||||
execute!(&conn, common::CREATE_TABLE_APPS).unwrap();
|
||||
execute!(&conn, common::CREATE_TABLE_STACKBLOCKS).unwrap();
|
||||
|
||||
self.0
|
||||
.1
|
||||
|
@ -363,7 +364,10 @@ macro_rules! auto_method {
|
|||
} else {
|
||||
self.create_audit_log_entry($crate::model::moderation::AuditLogEntry::new(
|
||||
user.id,
|
||||
format!("invoked `{}` with x value `{x:?}`", stringify!($name)),
|
||||
format!(
|
||||
"invoked `{}` with x value `{id}` and y value `{x:?}`",
|
||||
stringify!($name)
|
||||
),
|
||||
))
|
||||
.await?
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue