GHHG10's picture
download
raw
531 Bytes
import { mysqlTable, text, uniqueIndex, varchar } from "drizzle-orm/mysql-core"
import { timestamps, workspaceColumns } from "../drizzle/types"
import { workspaceIndexes } from "./workspace.sql"
export const ProviderTable = mysqlTable(
"provider",
{
...workspaceColumns,
...timestamps,
provider: varchar("provider", { length: 64 }).notNull(),
credentials: text("credentials").notNull(),
},
(table) => [...workspaceIndexes(table), uniqueIndex("workspace_provider").on(table.workspaceID, table.provider)],
)

Xet Storage Details

Size:
531 Bytes
·
Xet hash:
28aea30edfbd12593fcf7e44fedaa5677fcb8b3c23b42abf32160d3ff0beeeb1

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.