Update database constructor to receive model equivalent. So, if you see Image database now, you probably should have to pass all variables to constructor, this is non-sense, if the model is empty, use parameters, if isn't see so use model to feed the database object
Update database constructor to receive model equivalent. So, if you see Image database now, you probably should have to pass all variables to constructor, this is non-sense, if the model is empty, use parameters, if isn't see so use model to feed the database object