method
invert_drop_enum
v7.1.3.2 -
Show latest stable
- Class:
ActiveRecord::Migration::CommandRecorder
invert_drop_enum(args)private
No documentation available.
# File activerecord/lib/active_record/migration/command_recorder.rb, line 349
def invert_drop_enum(args)
_enum, values = args.dup.tap(&:extract_options!)
raise ActiveRecord::IrreversibleMigration, "drop_enum is only reversible if given a list of enum values." unless values
super
end