method

create_enum

Importance_1
v7.1.3.2 - Show latest stable - 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.