Releases: bibendi/activerecord-postgres_enum
Releases · bibendi/activerecord-postgres_enum
2.1.0
Added
- Working with separate schemas #62
2.0.2
Fixed
- Fix error on rollback #61
2.0.1
Fixes:
- Rails 7 create_enum generates array of arrays in schema.rb #55
2.0.0
- Dropped support for Rails less than 5.2
- Added support for Rails 7
- BREAKING Renamed
enum_name
to enum_type
because Rails 7 added basic support for enums
After updating the gem, you must run rails schema:dump
to regenerate your db/schema.rb
file. Also, you may want to auto-replace enum_name
to enum_type
in your existing migrations files.
1.7.0
Added compatibility with Rails 7 #51
1.6.0
- Make gem compatible with Ruby 3 #42
1.5.0
- Set maximum Rails version to 6.1
- Upgrade rspec-rails gem
- Use Standard linter
- Setup GitHub Actions
- Remove Travis CI
1.4.0
- Added a new
:force
option to create_enum
#29
- Updated the schema dumper to set force: :cascade for any new entries to the schema.rb #29
1.3.0
- Added Existance checks for creating and dropping enums, and
cascade: true
for drop_enum #27
1.2.0
New
- Add optional IF NOT EXISTS to add_enum_value #26
- Add ability to remove value from enum type #25