Buckets:
| /* oxlint-disable */ | |
| import type { MigrationConfig } from "drizzle-orm/migrator" | |
| import { readMigrationFiles } from "drizzle-orm/migrator" | |
| import type { AnyRelations } from "drizzle-orm/relations" | |
| import { migrate as coreMigrate } from "../sqlite-core/effect/session" | |
| import type { EffectSQLiteDatabase } from "./driver" | |
| export function migrate<TRelations extends AnyRelations>( | |
| db: EffectSQLiteDatabase<TRelations>, | |
| config: MigrationConfig, | |
| ) { | |
| const migrations = readMigrationFiles(config) | |
| return coreMigrate(migrations, db.session, config) | |
| } | |
Xet Storage Details
- Size:
- 554 Bytes
- Xet hash:
- 385badfdde6204089e10ccb484e768aa4f2a47eb73da3d770a95d7d430c60d60
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.