Skip to content

Commit 40d80bd

Browse files
committed
Fixed lack of forbidJsonb flag on durable-object transactions
1 parent f654053 commit 40d80bd

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

drizzle-orm/src/durable-sqlite/session.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export class SQLiteDOSession<
9898
) => T,
9999
_config?: SQLiteTransactionConfig,
100100
): T {
101-
const tx = new SQLiteDOTransaction('sync', this.dialect, this, this.relations, this.schema);
101+
const tx = new SQLiteDOTransaction('sync', this.dialect, this, this.relations, this.schema, undefined, false, true);
102102
this.client.transactionSync(() => {
103103
transaction(tx);
104104
});
@@ -131,6 +131,8 @@ export class SQLiteDOTransaction<
131131
this.relations,
132132
this.schema,
133133
this.nestedIndex + 1,
134+
false,
135+
true,
134136
);
135137
this.session.transaction(() => transaction(tx));
136138

0 commit comments

Comments
 (0)