File tree Expand file tree Collapse file tree
packages/3-extensions/pgvector/test/migrations Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ import {
1919import type { SqlSchemaIR } from '@prisma-next/sql-schema-ir/types' ;
2020import { createPostgresMigrationPlanner } from '@prisma-next/target-postgres/planner' ;
2121import { buildBuiltinIdentityValue } from '@prisma-next/target-postgres/planner-identity-values' ;
22- import { blindCast } from '@prisma-next/utils/casts' ;
2322import { describe , expect , it } from 'vitest' ;
2423import pgvectorDescriptor from '../../src/exports/control' ;
2524
@@ -581,16 +580,16 @@ function createTestContract(
581580 } ,
582581 } ;
583582 const { storage : _s , ...rest } = overrides ?? { } ;
584- const namespaces = blindCast < SqlStorageInput [ 'namespaces' ] > (
583+ const namespaces = (
585584 storageInput . namespaces
586585 ? buildSqlNamespaceMap ( storageInput . namespaces )
587586 : {
588587 [ UNBOUND_NAMESPACE_ID ] : buildSqlNamespace ( {
589588 id : UNBOUND_NAMESPACE_ID ,
590589 tables : defaultTables ,
591590 } ) ,
592- } ,
593- ) ;
591+ }
592+ ) as SqlStorageInput [ 'namespaces' ] ;
594593 return {
595594 target : 'postgres' ,
596595 targetFamily : 'sql' ,
You can’t perform that action at this time.
0 commit comments