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

04-Jun-2020 1331
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.
Use coupon code:

RUBYONRAILS

to get 30% discount on our bundle!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these highly-rated books offer thousands of essential questions and answers to boost your interview success. Buy our 'Ultimate Job Interview Preparation eBook Bundle' featuring 2200+ questions across multiple languages. Ultimate Job Interview Preparation eBook Bundle