encode / orm

An async ORM. 🗃
https://www.encode.io/orm
BSD 3-Clause "New" or "Revised" License
1.78k stars 98 forks source link

Add support for auto_now and auto_now_add #140

Closed Mng-dev-ai closed 2 years ago

Mng-dev-ai commented 2 years ago

What's the problem ?

aminalaee commented 2 years ago

You can check here https://github.com/encode/orm/runs/4531378456?check_suite_focus=true. You need to run ./scripts/lint locally.

Mng-dev-ai commented 2 years ago

Oh I forgot about this. Fixed

Mng-dev-ai commented 2 years ago

How to fix coverage issue ?

Mng-dev-ai commented 2 years ago

I checked the docs now but I can't see where I can add the docs ? Maybe in Declaring Models section ?

aminalaee commented 2 years ago

Yes, I think it can go in the Data Types. Maybe something like what's done for orm.String(max_length) or if you feel like it needs more clarification, have a section before The following column types are supported. this.