refactor: selected columns in queries (#17589)

This commit is contained in:
Daniel Dietzler
2025-04-14 20:34:06 +02:00
committed by GitHub
parent 5a51ad3622
commit 0b69d1c147
9 changed files with 50 additions and 144 deletions

View File

@@ -256,6 +256,7 @@ export type AssetJobStatus = Selectable<DatabaseAssetJobStatus> & {
const userColumns = ['id', 'name', 'email', 'profileImagePath', 'profileChangedAt'] as const;
export const columns = {
assetFiles: ['asset_files.id', 'asset_files.path', 'asset_files.type'],
authUser: [
'users.id',
'users.name',