Skip to content

Migration from pre summer version leads courses and course templates with out title #361

Open
@jamo

Description

@jamo

and thus fails all updates to course.

The fix can be easily applied via console:

Course.all.each do |course|
    course.course_template.update_attributes(title: course.name.humanize)
    course.update_attributes(title: course.name.humanize) 
end

We should either add a new migration just to update these fields and make sure not to rewrite these or just find out and fix the migration which failed to do it...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions