GHHG10/CodeServer / opencode /packages /stats /core /drizzle.config.ts
GHHG10's picture
download
raw
560 Bytes
import { Resource } from "sst/resource"
import { defineConfig } from "drizzle-kit"
export default defineConfig({
dialect: "mysql",
schema: ["./src/database/schema.ts"],
// schema: ["./src/**/*.sql.ts"],
out: "./migrations/",
strict: true,
verbose: true,
dbCredentials: {
database: Resource.StatsDatabase.database,
host: Resource.StatsDatabase.host,
user: Resource.StatsDatabase.username,
password: Resource.StatsDatabase.password,
port: Resource.StatsDatabase.port,
ssl: {
rejectUnauthorized: false,
},
},
})

Xet Storage Details

Size:
560 Bytes
·
Xet hash:
2aea0642fae8892015e531885d6e3931a9338cb504ff4a59469fa90d9e46d066

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