Authoring metadata carried on email_template_version.data.
lastEditedBy is the adusr_… external id of the admin.dashboard_user who
saved the version, deliberately not an FK. Cross-schema actor references
follow admin.dashboard_user_activity.object_id: a plain id, because every
surface that writes here already runs with admin-service permission, and an
FK from b2b into admin would be the only one in the repo.
Authoring metadata carried on
email_template_version.data.lastEditedByis theadusr_…external id of theadmin.dashboard_userwho saved the version, deliberately not an FK. Cross-schema actor references followadmin.dashboard_user_activity.object_id: a plain id, because every surface that writes here already runs with admin-service permission, and an FK fromb2bintoadminwould be the only one in the repo.