@applejack right now i have these tables:
.deleted -> to save the md5 of deleted files that i do not want to be re-added again if the software comes across them
.media -> to store data of the images, like md5, size, extension, etc
.tags -> to store the tags and their type, etc.
.tagpost -> to relation each post to their tags
.groups -> relational, to create groups of related media