update docs, update allow_blank in test and string fields
This commit is contained in:
@ -17,7 +17,7 @@ class Company(ormar.Model):
|
||||
database = database
|
||||
|
||||
id: ormar.Integer(primary_key=True)
|
||||
name: ormar.String(max_length=100)
|
||||
name: ormar.String(max_length=100, nullable=False)
|
||||
founded: ormar.Integer(nullable=True)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user