Skip to content

Commit 95c0296

Browse files
authored
✏ Update decimal tutorial source for consistency (#188)
1 parent 75540f9 commit 95c0296

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs_src/advanced/decimal/tutorial001.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class Hero(SQLModel, table=True):
99
name: str
1010
secret_name: str
1111
age: Optional[int] = None
12-
money: condecimal(max_digits=6, decimal_places=3) = Field(default=0)
12+
money: condecimal(max_digits=5, decimal_places=3) = Field(default=0)
1313

1414

1515
sqlite_file_name = "database.db"

0 commit comments

Comments
 (0)