From 8f8e5db2f818f21051cda3ab1b767a61d633b35e Mon Sep 17 00:00:00 2001 From: collerek Date: Mon, 3 Aug 2020 13:23:47 +0200 Subject: [PATCH] update column types in readme --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2c6b6d0..a25401f 100644 --- a/README.md +++ b/README.md @@ -7,10 +7,9 @@ Coverage - - Package version + +CodeFactor -CodeFactor

The `async-orm` package is an async ORM for Python, with support for Postgres, @@ -164,10 +163,10 @@ The following keyword arguments are supported on all field types. All fields are required unless one of the following is set: -* `allow_null` - Creates a nullable column. Sets the default to `None`. -* `allow_blank` - Allow empty strings to validate. Sets the default to `""`. +* `nullable` - Creates a nullable column. Sets the default to `None`. * `default` - Set a default value for the field. +Available Model Fields: * `orm.String(length)` * `orm.Text()` * `orm.Boolean()` @@ -177,6 +176,8 @@ All fields are required unless one of the following is set: * `orm.Time()` * `orm.DateTime()` * `orm.JSON()` +* `orm.BigInteger()` +* `orm.Decimal(lenght, precision)` [sqlalchemy-core]: https://docs.sqlalchemy.org/en/latest/core/ [databases]: https://github.com/encode/databases