Skip to content

Conversation

@spearce-citybase
Copy link

@spearce-citybase spearce-citybase commented Apr 23, 2024

Hi friend. We recently made this change in our forked repo to support Rails 7.0+. Thought I'd drop it here in case you wanted to pull in any changes.

Description

The 7.0+ postgres activerecord adapter added a create_enum method that conflicts with the create_enum method of power_enum. This PR resolves this naming conflict by renaming the method to create_power_enum.

Changes

  • Rename create_enum to create_power_enum
  • Rename remove_enum to remove_power_enum
  • timestamped_migrations was moved from ActiveRecord::Base to ActiveRecord in Rails 7.0.
  • Remove compatibility with rails <7.0
  • Update version to 5.0.0

@spearce-citybase spearce-citybase marked this pull request as ready for review April 23, 2024 16:37
@albertosaurus
Copy link
Owner

Thanks, I'll take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants