Skip to content

Releases: L-Mario564/drizzle-dbml-generator

v0.6.1

28 Nov 21:26
Compare
Choose a tag to compare
  • Fix certain characters not being escaped, which lead to invalid DBML syntax in some cases. Fixed by: @kevinschaich.

v0.6.0

25 Nov 20:26
Compare
Choose a tag to compare
  • Make each dialect's generate functions return a string containing the generated DBML. Implemented by: @cometkim.
  • out is now optional for each function.

v0.5.0

23 Nov 01:30
Compare
Choose a tag to compare
  • Fix "getSQLType is not a function" error. Fixed by: @MendyLanda.
  • Update drizzle-orm dependency to version 0.29.0.

v0.4.0

23 Sep 20:24
Compare
Choose a tag to compare
  • Add SQLite dialect support.
  • Upgraded drizzle-orm dependency to version 0.28.6, and with this, Postgres' smallserial generates as smallserial, as it should. Previously generated as serial due to a bug in Drizzle ORM.

v0.3.0

23 Sep 17:44
Compare
Choose a tag to compare
  • Add MySQL dialect support.

v0.2.1

03 Sep 15:50
Compare
Choose a tag to compare
  • Replace checks made with instanceof with Drizzle's is function to better check if a value is equal to a certain class.

v0.2.0

03 Sep 15:32
Compare
Choose a tag to compare
  • Fix CJS "main" in package.json. Now points to dist/index.cjs instead of lib/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 tagged sql.

v0.1.0

02 Sep 17:39
Compare
Choose a tag to compare
  • Initial release