Skip to content

Releases: bibendi/activerecord-postgres_enum

2.1.0

Choose a tag to compare

@bibendi bibendi released this 13 Jun 09:48

Added

  • Working with separate schemas #62

2.0.2

Choose a tag to compare

@bibendi bibendi released this 28 May 08:19

Fixed

  • Fix error on rollback #61

2.0.1

Choose a tag to compare

@bibendi bibendi released this 24 Dec 07:06

Fixes:

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

2.0.0

Choose a tag to compare

@bibendi bibendi released this 20 Dec 13:55
  • 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

Choose a tag to compare

@bibendi bibendi released this 26 Oct 09:12

Added compatibility with Rails 7 #51

1.6.0

Choose a tag to compare

@bibendi bibendi released this 17 Jan 09:43
  • Make gem compatible with Ruby 3 #42

1.5.0

Choose a tag to compare

@bibendi bibendi released this 11 Dec 08:37
  • Set maximum Rails version to 6.1
  • Upgrade rspec-rails gem
  • Use Standard linter
  • Setup GitHub Actions
  • Remove Travis CI

1.4.0

Choose a tag to compare

@bibendi bibendi released this 21 Aug 06:43
  • 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

Choose a tag to compare

@bibendi bibendi released this 21 Aug 06:41
  • Added Existance checks for creating and dropping enums, and cascade: true for drop_enum #27

1.2.0

Choose a tag to compare

@bibendi bibendi released this 24 Jul 11:25

New

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