Move getSchemaName to util (#13357)
## Context The method was very simple and deterministic, I'm moving its logic to a util so we don't have to import a service to use it.
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
import { uuidToBase36 } from 'twenty-shared/utils';
|
||||
|
||||
export const getWorkspaceSchemaName = (workspaceId: string): string => {
|
||||
return `workspace_${uuidToBase36(workspaceId)}`;
|
||||
};
|
||||
Reference in New Issue
Block a user