CDbCommand failed to execute the SQL statement: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (localdb
.craft\_assetcount
, CONSTRAINT craft\_assetcount\_assetId\_fk
FOREIGN KEY (assetId
) REFERENCES craft\_assetfiles
(id
) ON DELETE CASCADE)