-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
After migrating from Rails 6.1 to Rails 7 and updating this gem to 2.0.0
the schema.rb isn't generated correctly.
My migration is:
class AddMood < ActiveRecord::Migration[7.0]
def change
create_enum :mood, %w(happy great been_better)
end
endThe schema.rb result is:
ActiveRecord::Schema.define(version: 2021_12_24_061446) do
create_enum :mood, [["happy", "great", "been_better"]]
endThis double array fails when running: rake db:schema:load
Expected behavior
ActiveRecord::Schema.define(version: 2021_12_24_061446) do
create_enum :mood, ["happy", "great", "been_better"]
endContext (please complete the following information):
- OS: MacOs 12.1
- Gem Version: 2.0.0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working