diff --git a/acacore/database/files_db.py b/acacore/database/files_db.py index 9369d07..5f6f3fc 100644 --- a/acacore/database/files_db.py +++ b/acacore/database/files_db.py @@ -98,14 +98,14 @@ def __init__( BaseFile, "files_all", f""" - select uuid, checksum, relative_path, is_binary, size, puid, signature, warning from {self.original_files.name} - union - select uuid, checksum, relative_path, is_binary, size, puid, signature, warning from {self.master_files.name} - union - select uuid, checksum, relative_path, is_binary, size, puid, signature, warning from {self.access_files.name} - union - select uuid, checksum, relative_path, is_binary, size, puid, signature, warning from {self.statutory_files.name} - """, + select uuid, checksum, relative_path, is_binary, size, puid, signature, warning from {self.original_files.name} + union + select uuid, checksum, relative_path, is_binary, size, puid, signature, warning from {self.master_files.name} + union + select uuid, checksum, relative_path, is_binary, size, puid, signature, warning from {self.access_files.name} + union + select uuid, checksum, relative_path, is_binary, size, puid, signature, warning from {self.statutory_files.name} + """, ignore=["root"], )