Closed kilnerm closed 5 years ago
This PR adds support for optional id fields withing models.
When a user creates an optional id field the ORM will create an auto-increment column in the database table.
If an instance is saved with a nil id then the database will auto-increment. If the instance specifies an id the database will use the specified id.
This PR adds support for optional id fields withing models.
When a user creates an optional id field the ORM will create an auto-increment column in the database table.
If an instance is saved with a nil id then the database will auto-increment. If the instance specifies an id the database will use the specified id.