Skip to content

Commit

Permalink
Fix decimal SingleStore
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriiSherman committed Nov 11, 2024
1 parent 7dd05e9 commit 28d29f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drizzle-kit/src/serializer/singlestoreSerializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -549,9 +549,9 @@ export const fromDatabase = async (
changedType = columnType.replace(/\(\s*[^)]*\)$/, '');
}

// if (columnType.includes("decimal(10,0)")) {
// changedType = columnType.replace("decimal(10,0)", "decimal");
// }
if (columnType.includes('decimal(10,0)')) {
changedType = columnType.replace('decimal(10,0)', 'decimal');
}

let onUpdate: boolean | undefined = undefined;
if (
Expand Down

0 comments on commit 28d29f7

Please sign in to comment.