add:SmallInteger()
This commit is contained in:
@ -35,6 +35,7 @@ class ExampleModel(Model):
|
||||
test_time = ormar.Time(default=datetime.time)
|
||||
test_json = ormar.JSON(default={})
|
||||
test_bigint: int = ormar.BigInteger(default=0)
|
||||
test_smallint: int = ormar.SmallInteger(default=0)
|
||||
test_decimal = ormar.Decimal(scale=2, precision=10)
|
||||
test_decimal2 = ormar.Decimal(max_digits=10, decimal_places=2)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user