Skip to content

Commit

Permalink
#3405 Allow ColumnBuilder.defaultTo() to be null (#3407)
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan Jardine authored and kibertoad committed Aug 22, 2019
1 parent 4125855 commit 5003241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1543,7 +1543,7 @@ declare namespace Knex {
references(columnName: string): ReferencingColumnBuilder;
onDelete(command: string): ColumnBuilder;
onUpdate(command: string): ColumnBuilder;
defaultTo(value: Value): ColumnBuilder;
defaultTo(value: Value | null): ColumnBuilder;
unsigned(): ColumnBuilder;
notNullable(): ColumnBuilder;
nullable(): ColumnBuilder;
Expand Down

0 comments on commit 5003241

Please sign in to comment.