• Yannis Roussos's avatar
    Add Foreign Key on projects.namespaces_id · c3e928f8
    Yannis Roussos authored
    - Add foreign key from projects.namespaces_id to namespaces.id
      with validate: false
    - Add a lost-and-found group owned by the Ghost User
    - Find orphaned projects with a namespaces_id not in namespaces
      and move them under lost-and-found
    - Validate the FK Foreign Key on projects.namespaces_id
    c3e928f8
20200511083541_cleanup_projects_with_missing_namespace.rb 8.82 KB