method

create_enum

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActiveRecord::ConnectionAdapters::PostgreSQLAdapter
create_enum(name, values, **options) public

Given a name and an array of values, creates an enum type.

Show source
Register or log in to add new notes.