Closed briri closed 1 year ago
Hoping this makes working with the output types easier.
Adds a new research_output_type string column to research_outputs that will replace the old enum and integer field output_type.
research_output_type
research_outputs
output_type
To get it working:
rails db:migrate
db/schema.rb
rails v4:upgrade_4_0_9
Hoping this makes working with the output types easier.
Adds a new
research_output_type
string column toresearch_outputs
that will replace the old enum and integer fieldoutput_type
.To get it working:
rails db:migrate
db/schema.rb
(from the schema file in this PR) that the migration destroyedrails v4:upgrade_4_0_9
which will seed the new column based on the currentoutput_type
value