Migration
Last updated
Last updated
Starting from version 2.2.0, we added functionality to the package to store the original file name in the database.
Since the old name
column was used to store the manipulated file name (hashed, unique id, time, etc.), we needed a new column to store the original one.
Adding a new column and working with it could result in a breaking change, so we decided to make it optional. In the next major release, we will make it the default behavior of the package.
To enable this feature:
Enable the store-original-file-name
property in the file. (You may need to add it to your config file from )
Add the {$name}_file_original_name
column to your existing tables. (for new tables, this column will be added by default).