Skip to content

Releases: Invoca/declare_schema

Release v1.3.0.colin.1

03 Jul 03:47
Compare
Choose a tag to compare

Added

  • Added DeclareSchema.max_index_and_constraint_name_length with default of 64.

Release v1.2.3

04 Apr 17:05
Compare
Choose a tag to compare

Changed

  • Fixed a bug where renaming a foreign key resulted in an incorrect migration

Release v1.2.2

27 Jan 22:19
Compare
Choose a tag to compare

Changed

  • Documented belongs_to and has_and_belongs_to_many behavior
  • Documented configurable ignored tables behavior

Fixed

  • Ruby 3.x kwargs issue when calling validates

Removed

  • Ruby 2.5 from test matrix

Release v1.2.1

25 Sep 15:01
Compare
Choose a tag to compare

Fixed

  • If Rails is defined, raise if Rails.application is nil.

Release v1.2.0

14 Sep 09:45
Compare
Choose a tag to compare

Added

  • Added a rake task definition that can be optionally included into a non-Rails project to generate
    schema migrations.

Fixed

  • Fixed a bug where not aliasing column names was allowing mysql to return them using their uppercase
    variants

Release v1.1.0

22 Jul 14:42
Compare
Choose a tag to compare

Changed

  • Fixed a bug where DeclareSchema::Model::HabtmModelShim indexes and integer limits were not being generated properly. Use limit 8 for ids and primary composite key for habtm model.
  • index_definitions_with_primary_key

Release v1.0.2

18 Jul 12:50
Compare
Choose a tag to compare

Fixed

  • Fixed a bug where SchemaChange::ColumnRemove was not loaded and causing an exception to raise
    when a column was being removed during migration generation

Release v1.0.1

12 Jul 14:27
Compare
Choose a tag to compare

Fixed

  • Remove lingering usage of fallback_find_primary_key method that was removed in 0.14.0

Release v1.0.0

28 Mar 11:30
Compare
Choose a tag to compare

Added

  • Added support for Ruby 3+

Removed

  • Removed deprecated fields block declaration

Release v0.14.3

02 Sep 02:55
Compare
Choose a tag to compare

Fixed

  • Fixed more Ruby 2.7 warnings about needing **options when calling a method that has **options in its signature.