Skip to content

v2.0.2

Compare
Choose a tag to compare
@aarondl aarondl released this 25 Sep 05:01
· 1235 commits to master since this release

Overall these changes make for more robust naming and generation of tables with less seen relationships. An example is a self-referential table, or a join table that has extra columns + joins to itself. These situations caused some generated SQL to fail as well as some problems with name collisions in generated code.

  • Correct some cases of mysql insert that would fail to generate correct sql
  • Change the naming of certain relationships to preserve uniqueness
    • This may have broke some function names in existing code
  • Rather than gofmt individual template generation, run it on the entire output file to remove excess newlines
  • Stop postgres tests from prompting for passwords that are in the sqlboiler config
  • Fix generation of many-to-many with self-referential tables
  • Fix SetOp for join tables that have more than 2 columns
  • Fix non-join tables being flagged as such which in turn didn't generate tables for them
  • Refactor output section of code to be more efficient
  • Update CI schemas to include more cases for relationships