diff --git a/packages/tools/src/SqlDumper.ts b/packages/tools/src/SqlDumper.ts index 9302fa368..dc767c325 100644 --- a/packages/tools/src/SqlDumper.ts +++ b/packages/tools/src/SqlDumper.ts @@ -87,6 +87,7 @@ export class SqlDumper implements AlterProcessor { this.putByteArrayValue(bytes); } else if (value?.$bigint) this.putRaw(value?.$bigint); + else if (value?.$decimal) this.putRaw(value?.$decimal); else if (_isPlainObject(value) || _isArray(value)) this.putStringValue(JSON.stringify(value)); else this.put('^null'); }