Skip to content

Commit 8edf387

Browse files
committed
missing match in query builder
1 parent 59052ba commit 8edf387

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/manager.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ export class SQLiteManager {
9494
if (column.constraints.ForeignKey.onUpdate) {
9595
query += ' ON UPDATE ' + SQLiteManagerForeignKeyOn[column.constraints.ForeignKey.onUpdate]
9696
}
97+
98+
if (column.constraints.ForeignKey.match) {
99+
query += ' MATCH ' + column.constraints.ForeignKey.match
100+
}
97101
}
98102
}
99103
}

0 commit comments

Comments
 (0)