Download packages/console/core/src/schema/account.sql.ts from SaylorTwift/opencode: direct link, hf CLI and curl.
- Browser
- Download file 264 Bytes
-
https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/console/core/src/schema/account.sql.ts
- Command line
-
hf download hf://SaylorTwift/opencode/packages/console/core/src/schema/account.sql.ts
-
curl -L -o account.sql.ts https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/console/core/src/schema/account.sql.ts
264 Bytes
| import { mysqlTable, primaryKey } from "drizzle-orm/mysql-core" | |
| import { id, timestamps } from "../drizzle/types" | |
| export const AccountTable = mysqlTable( | |
| "account", | |
| { | |
| id: id(), | |
| ...timestamps, | |
| }, | |
| (table) => [primaryKey({ columns: [table.id] })], | |
| ) | |