Skip to content

Releases: bibendi/activerecord-postgres_enum

2.1.0

13 Jun 09:48
Compare
Choose a tag to compare

Added

  • Working with separate schemas #62

2.0.2

28 May 08:19
Compare
Choose a tag to compare

Fixed

  • Fix error on rollback #61

2.0.1

24 Dec 07:06
Compare
Choose a tag to compare

Fixes:

  • Rails 7 create_enum generates array of arrays in schema.rb #55

2.0.0

20 Dec 13:55
Compare
Choose a tag to compare
  • 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

26 Oct 09:12
Compare
Choose a tag to compare

Added compatibility with Rails 7 #51

1.6.0

17 Jan 09:43
Compare
Choose a tag to compare
  • Make gem compatible with Ruby 3 #42

1.5.0

11 Dec 08:37
Compare
Choose a tag to compare
  • Set maximum Rails version to 6.1
  • Upgrade rspec-rails gem
  • Use Standard linter
  • Setup GitHub Actions
  • Remove Travis CI

1.4.0

21 Aug 06:43
Compare
Choose a tag to compare
  • 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

21 Aug 06:41
Compare
Choose a tag to compare
  • Added Existance checks for creating and dropping enums, and cascade: true for drop_enum #27

1.2.0

24 Jul 11:25
Compare
Choose a tag to compare

New

  • Add optional IF NOT EXISTS to add_enum_value #26
  • Add ability to remove value from enum type #25