nightjarnz

setting table name to old class name fixes that :)

👍 (1)
nightjarnz

well 'lose' - still in DB, just not 'found' because it'll check a new table (with nothing in it) instead.

nightjarnz

If these are classes you control (part of your project) then please also don't forget to add table_name config to them.

👍 (1)
nightjarnz

@SilentDesigns if the files you're needing to alter have an accompanying .upgrade.yml in the module root, you can essentially copy the lines out for classes that extend DataObject - this is basically the legacy.yml file (sans a few headers - see above about an example).

👍 (1)
nightjarnz

migratefiletask is for migrating uploaded files in assets/ between v3 and v4 of CMS

SilentDesigns

Cool, thanks and then I need to run the MigrateFileTask ? Or just flush?