* fix: date field created when reference a calendar * fix: make everything one transaction * chore: apply suggestions from Lucas * chore: do the same for board --------- Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>