nhost / hasura-storage

Storage for Hasura built on top of S3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Storage.files table should have a metadata column (like auth.users)

spakanati opened this issue · comments

Since storage.files is not supposed to be edited in any way other than for permissions/relationships, it would be useful to add a metadata column like on the auth.users table for arbitrary data that needs to be added while uploading and might need to be used to process the file. (It looks like the actual files themselves don't accept object metadata during upload like most S3 uploads so that may be a separate but related issue.)

I am not against adding a users_metadata field of type jsonb so users can add their own metadata if needed.

@elitan, thoughts?

@dbarrosop let's call it metadata as in the users table.

I think naming it metadata for consistency is good. I'm also fine with such a new column.

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Not stale