mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 12:12:24 -05:00
Blocklist import (#77)
* first steps on importing blocklists * unblock domains properly
This commit is contained in:
parent
d389e7b150
commit
3568579218
25 changed files with 547 additions and 170 deletions
|
|
@ -86,6 +86,9 @@ type DB interface {
|
|||
// UpdateOneByID updates interface i with database the given database id. It will update one field of key key and value value.
|
||||
UpdateOneByID(id string, key string, value interface{}, i interface{}) error
|
||||
|
||||
// UpdateWhere updates column key of interface i with the given value, where the given parameters apply.
|
||||
UpdateWhere(where []Where, key string, value interface{}, i interface{}) error
|
||||
|
||||
// DeleteByID removes i with id id.
|
||||
// If i didn't exist anyway, then no error should be returned.
|
||||
DeleteByID(id string, i interface{}) error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue