github volatiletech/sqlboiler v2.0.2

latest releases: v4.16.2, v4.16.1, v4.16.0...
7 years ago

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

Don't miss a new sqlboiler release

NewReleases is sending notifications on new releases.