Releases: Invoca/declare_schema
Releases · Invoca/declare_schema
Release v1.3.0.colin.1
Added
- Added
DeclareSchema.max_index_and_constraint_name_length
with default of 64.
Release v1.2.3
Changed
- Fixed a bug where renaming a foreign key resulted in an incorrect migration
Release v1.2.2
Changed
- Documented
belongs_to
andhas_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
Fixed
- If Rails is defined, raise if
Rails.application
isnil
.
Release v1.2.0
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
Changed
- Fixed a bug where
DeclareSchema::Model::HabtmModelShim
indexes
andinteger limits
were not being generated properly. Uselimit 8
for ids and primary composite key for habtm model. index_definitions_with_primary_key
Release v1.0.2
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
Fixed
- Remove lingering usage of
fallback_find_primary_key
method that was removed in0.14.0
Release v1.0.0
Added
- Added support for Ruby 3+
Removed
- Removed deprecated
fields
block declaration
Release v0.14.3
Fixed
- Fixed more Ruby 2.7 warnings about needing
**options
when calling a method that has**options
in its signature.