All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Added logs in methods using the lib
logging
. - Added
ModelManager
to manage database tables. - Preparing
DuckORM
to support migrations withduck-orm-cli
.
- Method
associations
now ignores fields that are not of typeForeingKey
orOneToOne
.
- Added
__tablename__
attribute of models in ModelManager.
- ModelManager
create_all_tables
method does not create the tables and neither the relationships already created, before it generated an error. - The
drop_all_tables
to ModelManager method does not drop the tables that do not exist, before it generated an error. - Fixed the
add
andget_all
method of theOneToMany
field. - Fixed the
add
,add_models
andget_all
method of theManyToMany
field. - Fixed
parser
method ofQueryExecutor
module.
- Implement method
find_by_id
and documentation. #9 - Added the
on_delete
parameters to theForeignKey
field and documentation. #17 - Added the
on_update
parameters to theForeignKey
field and documentation. #19 - Add parameter
name_constraint
inForeignKey
field and documentation. #18 - Add parameter
name_constraint
inOneToOne
field and documentation. #30 - Add
ManagerModel
and documentation. #31 - Changed the way that the determined between the tables is created. #31
- Add field Timestamp. #15
- Suport Databases 0.5.3.
- Documentation fix: portuguese words and some broken links.
- Launch.
- Creation of models.
- Support for postgresql and sqlite.
- Supported Fields: String, Integer, BigInteger, Varchar and Boolean.
- Supported Relationships: One To One, One To Many and Many To Many.