Releases: Vanderhoof/PyDBML
Releases · Vanderhoof/PyDBML
1.0.3
Changelog:
- Fix: inline many-to-many references were not rendered in sql
1.0.2
- New: "backslash newline" is supported in note text (line continuation)
- New: notes have reference to their parent. Note.sql now depends on type of parent (for tables and columns it's COMMENT ON clause)
- New: pydbml no longer splits long notes into multiple lines
- Fix: inline ref schema bug, thanks to @jens-koster
- Fix: (#16) notes were not idempotent, thanks @jens-koster for reporting
- Fix: (#15) note objects were not supported in project definition, thanks @jens-koster for reporting
- Fix: (#20) schema didn't work in table group definition, thanks @mjfii for reporting
- Fix: quotes in note text broke sql and dbml
- New: proper support of composite primary keys without creating an index
- New: support of many-to-many relationships
1.0.1
1.0.0
- New project architecture, full support for creating and editing DBML. See details in the docs
- New Expression class
- Support DBML 2.4.1 syntax:
- Multiline comments
- Multiple schemas
0.4.2
- Fix: after editing column name index dbml was not updated.
- Fix: enums with spaces in name were not applied.
- Fix: after editing column name table dict was not updated.
- Fix: after editing enum column type was not updated.
- Removed EnumType class. Only Enum is used now.
0.4.1
0.4.1
- Reworked
__repr__
and__str__
methods on all classes. They are now much simplier and more readable. - Comments on classes are now rendered as SQL comments in
sql
property (previously notes were rendered as comments on some classes). - Notes on
Table
andColumn
classes are rendered as SQL comments insql
property:COMMENT ON TABLE "x" is 'y'
. - New:
dbml
property on most classes and on parsed results which returns the DBML code. - Fix: sql for Reference and TableReference.
0.4.0
0.4.0
- New: Support composite references. Breaks backward compatibility!
col1
,col2
attributes onReference
andcol
,ref_col
attributes onTableReference
are now lists ofColumn
instead ofColumn
. TableGroup
now holds references to actual tables.
0.3.5
- New: Support references by aliases.
- New: Support indexes with expressions.
- New: You can now compare SQLObjects of same class.
- New: Add check for duplicate references on a table.
- Fix: minor bug fixes.