Directus
#### :rotating_light: MIGRATED FROM REQUESTS.GETDIRECTUS.COM :rotating_light:

# Folders for Directus Files

### :+1: = 47


-----
### @benhaynes – (2 years ago)

On the files page, currently all files are shown in one large list – ideally we should add folders to this view. Basically I imagine there are new records in the directus_files that are "folders" instead of files:

Something like: We add a "folder_parent" column to "directus_files" – every folder has this value set to NULL (root) or another folder (nested folder), and all files have it set to the folder that it is contained within.

Visually these folders should have some meta data displayed on them (number of files, etc) and all files and folders should be drag&droppable.




-----
### @vtmx – :+1: (10 months ago)

Totally agree.




-----
### @laszlokorte – (6 months ago)

You might consider using a so called "closure table" for storing parent/child relationships instead of just a parent_id column.