drizzle-orm
Advanced tools
Comparing version 0.9.5 to 0.9.6
{ | ||
"name": "drizzle-orm", | ||
"version": "0.9.5", | ||
"version": "0.9.6", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -12,2 +12,3 @@ import { AbstractTable } from '../tables'; | ||
references?: { | ||
foreignKeyName: string; | ||
onDelete?: string; | ||
@@ -14,0 +15,0 @@ onUpdate?: string; |
@@ -47,2 +47,3 @@ "use strict"; | ||
columnToReturn[key].references = { | ||
foreignKeyName: `${value.getParent().tableName()}_${value.getColumnName()}_fk`, | ||
table: referenced.getParentName(), | ||
@@ -49,0 +50,0 @@ column: referenced.getColumnName(), |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
207026
4687