[DB][FILE][AVATAR] Handle deleting files, change file and avatar tables

This commit is contained in:
Hugo Sales
2020-08-07 02:03:55 +00:00
committed by Hugo Sales
parent 65d6204a01
commit c06346ef31
3 changed files with 120 additions and 57 deletions

View File

@@ -86,6 +86,15 @@ class FileThumbnail
// }}} Autocode
/**
* Delete a file thumbnail. This table doesn't own all the files, only itself
*/
public function delete(bool $flush = false, bool $delete_files_now = false, bool $cascading = false): string
{
// TODO Implement deleting file thumbnails
return '';
}
public static function schemaDef(): array
{
return [