Skip to content

Commit

Permalink
Fix nullable jsonb column schema definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
ahwatts committed Jan 15, 2024
1 parent 87e2f4d commit 5c78d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -406,5 +406,5 @@ pub fn jsonb_null<T>(name: T) -> ColumnDef
where
T: IntoIden,
{
ColumnDef::new(name).json_binary().not_null().clone()
ColumnDef::new(name).json_binary().clone()
}

0 comments on commit 5c78d63

Please sign in to comment.