This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hi, I had a model 'Product' and I attached files (type: fileupload) for it. Files was saving in: \storage\app\uploads\public. Now I want to duplicate web, but when I copy the database and directory \storage\app\uploads\public my Product doesn´t have its files. Is there a way, how can I fix it or I'll have to upload files to products again? Thank you.
when I copy the database and directory \storage\app\uploads\public
This should be enough for the file to appear. It is stored on the filesystem and in the system_files
database table. This is the only place
daftspunk said:
when I copy the database and directory \storage\app\uploads\public
This should be enough for the file to appear. It is stored on the filesystem and in the
system_files
database table. This is the only place
Thank you so much, I forgot copy 'system_files' table to my database.
1-3 of 3