Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ timestampColumns
Function
timestampColumns
packages/stats/core/src/database/schema.ts:156–161 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
154
}
155
156
function
timestampColumns() {
157
return
{
158
created_at: datetime({ mode:
"date"
}).notNull().defaultNow(),
159
updated_at: datetime({ mode:
"date"
}).notNull().defaultNow().onUpdateNow(),
160
}
161
}
Callers
1
schema.ts
File · 0.85
Calls
1
datetime
Function · 0.85
Tested by
no test coverage detected