mysql - adding column to filesetfiles table
Permalink
Hi guys,
I need to add additional columns to the FileSetFiles table however when I do this files can no longer be added to sets through file manager.
Is there a core php file that I need to add the additional column values to upon a file being being added to a set?
thanks,
I need to add additional columns to the FileSetFiles table however when I do this files can no longer be added to sets through file manager.
Is there a core php file that I need to add the additional column values to upon a file being being added to a set?
thanks,
I think what you probably need to do is add a file attribute to files for the extra information you would have liked to put in a column.
Think of attributes as optional extra columns.
Think of attributes as optional extra columns.
Of course, attributes!
Thanks John
Thanks John
I confess.... I can call file attributes quite easily but im struggling with setting attributes. What I had before would decode json and then update the database. What I'm struggling with is decoding the json to update the file attributes, as opposed to running the query.
Messing with the core database tables is inviting complications right away or down the line.