Releases: Invoca/declare_schema
Releases · Invoca/declare_schema
Release v3.1.0.colin.1
Added
- Add HABTM support for arbitrary primary key in the referenced table (rather than just :bigint).
Release v2.3.2
Fixed
- Removed require of
activesupport/proxy_objectwhich is removed in Rails 8.0
Release v2.3.1
Fixed
- Fixed bug where a new model with
belongs_to :owner, polymorphic: truewould cause
a "Mysql2::Error: Table '' doesn't exist:" exception when generating a migration.
Release v2.3.0
Updated
- Updated the
current_adaptermethod to useconnection_db_configfor Rails 6.1 and higher, while retainingconnection_configfor earlier versions
Release v2.2.1
Changed
- Re-release after yanking 2.2.0
Release v2.2.0.colin.1
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
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
Added
- Added support for Rails 7.2
- Added support for
postgresqlas a database adapter
Release v2.0.0
Added
- Added support for Rails 7.0 and 7.1
- Add support for automatic enum scopes for each value in the
:limitarray
Removed
- Removed support for Rails < 6.0
Release v1.4.0
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 }.