MCPcopy Create free account
hub / github.com/anomalyco/console / cuid

Function cuid

packages/core/src/util/sql.ts:5–5  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

3export { createId } from "@paralleldrive/cuid2";
4
5export const cuid = (name: string) => char(name, { length: 24 });
6export const id = {
7 get id() {
8 return cuid("id").primaryKey().notNull();

Callers 10

git.sql.tsFile · 0.90
state.sql.tsFile · 0.90
log.sql.tsFile · 0.90
issue.sql.tsFile · 0.90
app.sql.tsFile · 0.90
warning.sql.tsFile · 0.90
billing.sql.tsFile · 0.90
run.sql.tsFile · 0.90
idFunction · 0.70
workspaceIDFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected