Skip to content

database-2.5

Compare
Choose a tag to compare
@garricko garricko released this 21 Sep 20:52

Features and bug fixes

  • Prevent silly errors by throwing an exception if you call Schema.Table.addPrimaryKey(name, column...) and the first parameter matches a column name
  • Improve the logic for foreign key indexing to avoid redundant multi-column indexes

Compatibility note: in some cases the indexes generated by Schema may differ, so you may want to check schemas generated with older versions and drop the redundant indexes to stay in sync.