database-2.5
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.