drizzle-orm
Advanced tools
Comparing version 0.10.16 to 0.10.17
@@ -31,3 +31,3 @@ import { PgTime, PgTimestamp } from '.'; | ||
new (db: DB): ITable; | ||
}, callback: (table: ITable) => AbstractColumn<T, boolean, boolean, TParent>, onConstraint: { | ||
}, callback: (table: ITable) => AbstractColumn<any, boolean, boolean, TParent>, onConstraint: { | ||
onDelete?: 'CASCADE' | 'RESTRICT' | 'SET NULL' | 'SET DEFAULT'; | ||
@@ -49,7 +49,7 @@ onUpdate?: 'CASCADE' | 'RESTRICT' | 'SET NULL' | 'SET DEFAULT'; | ||
primaryKey(): Column<T, TAutoIncrement extends true ? true : false, TAutoIncrement, TParent>; | ||
foreignKey(table: new (db: DB) => TParent, callback: (table: this) => Column<T, boolean, boolean, TParent>, onConstraint?: { | ||
foreignKey(table: new (db: DB) => TParent, callback: (table: this) => Column<any, boolean, boolean, TParent>, onConstraint?: { | ||
onDelete?: 'CASCADE' | 'RESTRICT' | 'SET NULL' | 'SET DEFAULT'; | ||
onUpdate?: 'CASCADE' | 'RESTRICT' | 'SET NULL' | 'SET DEFAULT'; | ||
}): Column<T, TNullable, TAutoIncrement, TParent>; | ||
foreignKey<ITable extends AbstractTable<ITable>>(table: new (db: DB) => ITable, callback: (table: ITable) => Column<T, boolean, boolean, ITable>, onConstraint?: { | ||
foreignKey<ITable extends AbstractTable<ITable>>(table: new (db: DB) => ITable, callback: (table: ITable) => Column<any, boolean, boolean, ITable>, onConstraint?: { | ||
onDelete?: 'CASCADE' | 'RESTRICT' | 'SET NULL' | 'SET DEFAULT'; | ||
@@ -56,0 +56,0 @@ onUpdate?: 'CASCADE' | 'RESTRICT' | 'SET NULL' | 'SET DEFAULT'; |
{ | ||
"name": "drizzle-orm", | ||
"version": "0.10.16", | ||
"version": "0.10.17", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
274802