Skip to content

Releases: Invoca/declare_schema

Release v3.1.0.colin.1

19 Aug 15:17

Choose a tag to compare

Added

  • Add HABTM support for arbitrary primary key in the referenced table (rather than just :bigint).

Release v2.3.2

22 Feb 01:24
05593d8

Choose a tag to compare

Fixed

  • Removed require of activesupport/proxy_object which is removed in Rails 8.0

Release v2.3.1

11 Dec 00:05

Choose a tag to compare

Fixed

  • Fixed bug where a new model with belongs_to :owner, polymorphic: true would cause
    a "Mysql2::Error: Table '' doesn't exist:" exception when generating a migration.

Release v2.3.0

31 Oct 16:52

Choose a tag to compare

Updated

  • Updated the current_adapter method to use connection_db_config for Rails 6.1 and higher, while retaining connection_config for earlier versions

Release v2.2.1

11 Oct 15:34

Choose a tag to compare

Changed

  • Re-release after yanking 2.2.0

Release v2.2.0.colin.1

10 Oct 18:40

Choose a tag to compare

Changed

  • Drop/add index if its settings change (unique:, length:, etc.)
  • Drop/add index if order of columns changes
  • Drop indexes before adding, in case any have identical names
  • Drop foreign keys before adding, in case any have identical names

Release v2.2.0

09 Oct 15:32

Choose a tag to compare

Changed

  • Drop/add index if its settings change (unique:, length:, etc.)
  • Drop/add index if order of columns changes
  • Drop indexes before adding, in case any have identical names
  • Drop foreign keys before adding, in case any have identical names

Release v2.1.0

20 Aug 15:16

Choose a tag to compare

Added

  • Added support for Rails 7.2
  • Added support for postgresql as a database adapter

Release v2.0.0

14 May 19:26

Choose a tag to compare

Added

  • Added support for Rails 7.0 and 7.1
  • Add support for automatic enum scopes for each value in the :limit array

Removed

  • Removed support for Rails < 6.0

Release v1.4.0

25 Jan 05:10
9af3191

Choose a tag to compare

Added

  • Added support for partial indexes with length: option.

Changed

  • Deprecate index: 'name' and unique: true|false in favor of index: { name: 'name', unique: true|false }.