GHHG10's picture
download
raw
675 Bytes
import { Resource } from "@opencode-ai/console-resource"
import { Database } from "../src/drizzle/index.js"
import { UserTable } from "../src/schema/user.sql.js"
import { AccountTable } from "../src/schema/account.sql.js"
import { WorkspaceTable } from "../src/schema/workspace.sql.js"
import { BillingTable, PaymentTable, UsageTable } from "../src/schema/billing.sql.js"
import { KeyTable } from "../src/schema/key.sql.js"
if (Resource.App.stage !== "frank") throw new Error("This script is only for frank")
for (const table of [AccountTable, BillingTable, KeyTable, PaymentTable, UsageTable, UserTable, WorkspaceTable]) {
await Database.use((tx) => tx.delete(table))
}

Xet Storage Details

Size:
675 Bytes
·
Xet hash:
28a9c32f16f6d4b5c2bcbbc42674de95a6895be07897641b1bd8347296f6d34c

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