Skip to content

Latest commit

 

History

History
74 lines (47 loc) · 1.9 KB

CHANGELOG.md

File metadata and controls

74 lines (47 loc) · 1.9 KB

Version 1.6.0

  • New feature: detect columns validated for presence but missing a non-NULL constraint at the database level.
  • New feature: detect columns with a non-NULL constraint at the database level without the corresponding presence validation.
  • Official support for Rubies 1.9.3+ and Rails 4.2+
  • Skipping full-text indexes when detecting extraneous indexes (thanks Tom)
  • Some improvements and fixes in README.md (thanks Jay)

Version 1.5.0

  • New feature: detect indexes unprepared for working with models supporting soft-delete (thanks to Jason Fleetwood-Boldt for suggesting this feature).

Version 1.4.1

  • Bug fix: only look for references to undefined tables on models that have a table name defined.

Version 1.4.0

  • New feature: detect models referencing undefined tables.

Version 1.3.1

  • Support for Rails 4.2, 5.0 and 5.1.
  • Improve errors reported by add_index on malformed inputs.

Version 1.3.0

  • New feature: detect missing foreign key constraints.

Version 1.2.1

  • Support for Rails 5 (thanks @syndbg)

Version 1.2.0

  • New feature: report extraneous indexes on primary keys.
  • Bug fix: properly recognise indexes on polymorphic associations (thanks for reporting @kvokka and @michaelachrisco)
  • Bug fix: handle non-unique indexes correctly
  • Clean up the documentation (thanks @Fryguy)

Version 1.1.1

  • Document how to detect extraneous indexes.
  • Support Rubies lacking Array#to_h.
  • Minor refactorings (thanks @mwsteb)

Version 1.1.0

  • New feature: detect extraneous indexes.
  • Update the installation instructions.

Version 1.0.3

  • Bug fix: add rails to development dependencies.

Version 1.0.2

  • Bug fix: add rake to development dependencies.

Version 1.0.1

  • Bug fix: versions in Gemfile.lock.
  • Bug fix: don't generate migrations with identical timestamps.

Version 1.0.0

  • Initial release.
  • New feature: Detecting and indexing unindexed foreign keys.