Integrate PostgreSQL's enum data type into ActiveRecord's schema and migrations.
04-Jun-2020 1306
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 #Integrate #PostgreSQL's #ActiveRecord's #schema #migrations. #activerecord's #type https://www.rubyonrails.ba/link/integrate-postgresql-s-enum-data-type-into-activerecord-s-schema-and-migrations