Open JesJehle opened 1 month ago
the name
col is never actually used.
This is confusing, I don't quite understand. What is the definition of name, file_alias, and file_name at the moment?
file_name = uuid + uploaded_file_name file_alias = uploaded_file_name name = (what ever you provide, in your upload script you provides file_name
ah ok. Then removing name
is a good idea I think .
In the
dataset
table, which is created first, we add the columnsfile_name
andfile_alias
. When creating the metadata fields, we also add thename
column, which must be provided via the API call. However, I believe the use ofname
is inconsistent. We could either remove it or generate it based on the data from thedataset
table, specifically usingfile_name
orfile_alias
. What are your thoughts, @cmosig?