summaryrefslogtreecommitdiff
path: root/packages/db/src/runtime/virtual.ts
diff options
context:
space:
mode:
authorGravatar Oliver Speir <115520730+OliverSpeir@users.noreply.github.com> 2024-06-10 09:53:38 -0600
committerGravatar GitHub <noreply@github.com> 2024-06-10 16:53:38 +0100
commit29463dff52f2e74d0d522168afe6faf70ff2fabb (patch)
tree1b4e579af974548cc317af8023bd4cee8d7d5886 /packages/db/src/runtime/virtual.ts
parent2bdca27ff4002efd330667b0b4ca3e00d5b7a2db (diff)
downloadastro-29463dff52f2e74d0d522168afe6faf70ff2fabb.tar.gz
astro-29463dff52f2e74d0d522168afe6faf70ff2fabb.tar.zst
astro-29463dff52f2e74d0d522168afe6faf70ff2fabb.zip
Export type Database from db/runtime (#11216)
* import and export in index.ts * remove import and export from virtual.ts * add changset * Update .changeset/warm-pets-tap.md Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> --------- Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Diffstat (limited to '')
-rw-r--r--packages/db/src/runtime/virtual.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/packages/db/src/runtime/virtual.ts b/packages/db/src/runtime/virtual.ts
index 4159e74c1..6f008fe0d 100644
--- a/packages/db/src/runtime/virtual.ts
+++ b/packages/db/src/runtime/virtual.ts
@@ -11,10 +11,6 @@ import type {
TextColumnOpts,
} from '../core/types.js';
-import type { LibSQLDatabase } from 'drizzle-orm/libsql';
-
-export type Database = Omit<LibSQLDatabase, 'transaction'>;
-
function createColumn<S extends string, T extends Record<string, unknown>>(type: S, schema: T) {
return {
type,