ryanthompson
—
6 years ago
Ah gotcha - well you have 2 options:
Use a migration to migrate the field into the files namespace OR use custom fields via folders as already existing in the files module.
Then just override the files table by class binding and edit the $columns
property as desired.
ryanthompson
—
6 years ago
You can do a "quick" migration using $fields
and $stream
for example or you can use the repositories for fields in the construct. There are lots of examples out there.
The main thing though is you'll wanna make sure the NAMESPACE is files
since that's where you want to add fields. But the migration won't reside in the files module and won't pick up the namespace automatically.
Can you rephrase this a bit? Not sure what you are asking.