Closed jamescowie closed 10 years ago
I have updated the models to use Resource and not refer to MySQL4. Next up is the DDL
I have updated the installer to be valid DDL and should work on any DB installation now.
The cron now invokes the process to generate image assets not the observer.
Are there any issues with leaving the model group names prefixed with hackathon_
?
Hello, Im happy either way. I went with simpleimage for simplicity although on reflection it does loose context for module name. Happy to revert back if people prefer ? Ideally I would like to get this PR merged so we can start to look at what is required to get to a stable POC
I'd say revert it back so that's its consistent with the helper group name.
I didn't get a chance to test out your changed but does the created at/updated at value in the DB get auto populated? I think we can get by with just a single date column since the rows are deleted once processed. This column could have a default value of now()
so there's no need to have any _beforeSave()
logic to check if the model is new.
Hi All,
I have refactored the model entities to now use hackathon_simpleimage/simpleimage
I also refactored the crontab model as it was not easily readable.
Created the models and base table required for the module.