Skip to content

Commit

Permalink
Fix build v2
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagoacastro committed Jul 25, 2024
1 parent 5f86590 commit 08b4c4d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drizzle-orm/src/singlestore-core/schema.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { entityKind, is } from '~/entity.ts';
import { type SingleStoreTableFn, singlestoreTableWithSchema } from './tables/common.ts';
import type { SingleStoreTableFn } from './tables/common.ts';
import { type singlestoreView, singlestoreViewWithSchema } from './view.ts';
import { singlestoreColumnstoreTableWithSchema } from './tables/columnstore.ts';

export class SingleStoreSchema<TName extends string = string> {
static readonly [entityKind]: string = 'SingleStoreSchema';
Expand All @@ -10,7 +11,7 @@ export class SingleStoreSchema<TName extends string = string> {
) {}

table: SingleStoreTableFn<TName> = (name, columns, extraConfig) => {
return singlestoreTableWithSchema(name, columns, extraConfig, this.schemaName);
return singlestoreColumnstoreTableWithSchema(name, columns, extraConfig, this.schemaName);
};

view = ((name, columns) => {
Expand Down

0 comments on commit 08b4c4d

Please sign in to comment.