// Core table — the universal audit subject (whoever/whatever initiated a // write: a user, a service account, an API key, or the system). Every // `createdBy` / `updatedBy` / `deletedBy` references it, so the `audit()` / // `tenant()` / `softDelete()` mixins require it to exist. Declared one-per- // file with the `*.entity.ts` convention — the CLI auto-discovers it. import { id, table, text, timestamp } from '@voltro/database' export const actors = table('actors', { id: id(), kind: text().oneOf(['user', 'serviceAccount', 'apiKey', 'system']), displayName: text().nullable(), createdAt: timestamp().default('now'), })