* chore(database): clean invalid associations in collection model when set field failed * fix: import * chore: test