mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-01 06:42:26 +00:00
Co-authored-by: Github Action <action@github.com> Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> Co-authored-by: Brendan Allan <git@brendonovich.dev>
11 lines
230 B
TypeScript
11 lines
230 B
TypeScript
import { integer } from "drizzle-orm/sqlite-core"
|
|
|
|
export const Timestamps = {
|
|
time_created: integer()
|
|
.notNull()
|
|
.$default(() => Date.now()),
|
|
time_updated: integer()
|
|
.notNull()
|
|
.$onUpdate(() => Date.now()),
|
|
}
|