Releases: L-Mario564/drizzle-dbml-generator
Releases · L-Mario564/drizzle-dbml-generator
v0.6.1
- Fix certain characters not being escaped, which lead to invalid DBML syntax in some cases. Fixed by: @kevinschaich.
v0.6.0
v0.5.0
- Fix "
getSQLType
is not a function" error. Fixed by: @MendyLanda. - Update
drizzle-orm
dependency to version 0.29.0.
v0.4.0
- Add SQLite dialect support.
- Upgraded
drizzle-orm
dependency to version 0.28.6, and with this, Postgres'smallserial
generates assmallserial
, as it should. Previously generated asserial
due to a bug in Drizzle ORM.
v0.3.0
- Add MySQL dialect support.
v0.2.1
- Replace checks made with
instanceof
with Drizzle'sis
function to better check if a value is equal to a certain class.
v0.2.0
- Fix CJS "main" in package.json. Now points to
dist/index.cjs
instead oflib/index.cjs
. - Fix schema input type for
pgGenerate
function. - Fix relations sometimes being passed as tables.
- Fix indexes not generating.
- Fix type generation where array types with configuration were invalid DBML. Types like
varchar(25)[]
didn't work, now they're wrapped in double quotes, which is valid DBML. - Fix default values defined with
sql
to now show the SQL represented in a string instead of the object representing the taggedsql
.
v0.1.0
- Initial release