File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
packages/core/src/db/migrations Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 1
- import { type Kysely , sql } from "kysely" ;
1
+ import type { Kysely } from "kysely" ;
2
2
import {
3
3
downloadJsonFromBucket ,
4
4
uploadJsonToBucket ,
@@ -7,9 +7,6 @@ import type { dependencyManifestTypes } from "@stackcore/shared";
7
7
8
8
// deno-lint-ignore no-explicit-any
9
9
export async function up ( db : Kysely < any > ) : Promise < void > {
10
- // Create vector extension
11
- await db . executeQuery ( sql `CREATE EXTENSION vector;` . compile ( db ) ) ;
12
-
13
10
const manifestRecords = await db . selectFrom ( "manifest" ) . selectAll ( )
14
11
. execute ( ) ;
15
12
@@ -37,7 +34,6 @@ export async function up(db: Kysely<any>): Promise<void> {
37
34
}
38
35
39
36
// deno-lint-ignore no-explicit-any
40
- export async function down ( db : Kysely < any > ) : Promise < void > {
41
- // Drop vector extension
42
- await db . executeQuery ( sql `DROP EXTENSION vector;` . compile ( db ) ) ;
37
+ export async function down ( _db : Kysely < any > ) : Promise < void > {
38
+ // Do nothing
43
39
}
You can’t perform that action at this time.
0 commit comments