Releases: Invoca/declare_schema
Releases · Invoca/declare_schema
Release v1.3.1
Fixed
- Fix bug in default index name when table name + __ + column suffix exceeds
DeclareSchema.max_index_and_constraint_name_length.
In this case we truncate the table name and append part of its hash.
Release v1.3.1.colin.1
Fixed
- Fix bug in default index anme when table name + __ + column suffix exceeds
DeclareSchema.max_index_and_constraint_name_length.
In this case we truncate the table name and append part of its hash.
Release v1.3.0
Added
- Added
DeclareSchema.max_index_and_constraint_name_lengthwith default of 64.
Release v1.3.0.colin.1
Added
- Added
DeclareSchema.max_index_and_constraint_name_lengthwith 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_toandhas_and_belongs_to_manybehavior - 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.applicationisnil.
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::HabtmModelShimindexesandinteger limitswere not being generated properly. Uselimit 8for ids and primary composite key for habtm model. index_definitions_with_primary_key
Release v1.0.2
Fixed
- Fixed a bug where
SchemaChange::ColumnRemovewas not loaded and causing an exception to raise
when a column was being removed during migration generation