Integrate PostgreSQL's enum data type into ActiveRecord's schema and migrations.

Integrate PostgreSQL's enum data type into ActiveRecord's schema and migrations. Running the above will create a table :person, with a column :person_mood of type :mood. This will also be saved on schema.rb so that rake schema:load works as expected.
Integrate PostgreSQL's enum data type into ActiveRecord's schema and migrations. #ruby #rubydeveloper #rubyonrails #activerecord's #type https://rubyonrails.ba/single/integrate-postgresql-s-enum-data-type-into-activerecord-s-schema-and-migrations

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles