Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Rex Dri Rex Dri
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 33
    • Issues 33
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Rex Dri
  • Rex DriRex Dri
  • Issues
  • #137
Closed
Open
Created Jul 02, 2019 by Florent Chehab@chehabflOwner0 of 4 tasks completed0/4 tasks

Drop the city and campus model to simplify things a bit

As you can see here https://rex-dri.gitlab.utc.fr/rex-dri/documentation/generated/architecture.svg the backend models architecture is a bit complicated.

To simplify things a bit, we want to:

  • Drop the city model
  • Drop the campus model
  • All these information should be moved back to the University.
  • There are also big changes to perform to the frontend.

This will be a big help for #187 (closed)

How to do it?

  1. Create a migration to add the missing columns to the University model,
  2. Create a script to transfer the data from the city / campus models in the new columns,

  1. Update the backend serializers and viewsets,
  2. Update the frontend.

  1. Delete the old models.
Edited Jun 19, 2020 by Gautier Daures
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking