yacs.n icon indicating copy to clipboard operation
yacs.n copied to clipboard

Feature Request — Convert Database to Tortoise ORM

Open lhain08 opened this issue 3 years ago • 0 comments

Job Replace SQL Alchemy with Tortoise ORM

  • [x] User Account Model, DB, Controller and Tests (@lhain08)
  • [x] User Session Model, DB, Controller and Tests (@lhain08)
  • [x] Course Model, DB, and Tests (@lhain08)
  • [x] Course Prerequisite Model, DB, and Tests (@franchen28)
  • [x] Course Corequisite Model, DB, and Tests (@PhoenixTamaoki)
  • [x] Course Session Model, DB, and Tests (@canghiskhan)
  • [x] Admin Settings Model, DB, and Tests (@Xies3)
  • [x] Semester Date Range Model, DB, and Tests (@navyaa-24)
  • [x] Class Info DB (@navyaa-24)
  • [x] Semester Info Model, DB, and Tests (@vancouver02)
  • [x] Student Course Selection Model, DB, and Tests (@YuetingLiao)
  • [x] User Event Model, DB, and Controller (@hhdtc)
  • [x] Event Model (@lhain08)

Wrap-up Finishing touches

  • [ ] Database migrations - Set up system for migrating the database in the future (Do we need migrations from sqlalchemy to tortoise?)
  • [ ] Testing - List and run through all use cases on the production server to ensure nothing is broken
  • [ ] Update the old database tests in yacs.n/tests

lhain08 avatar Apr 01 '22 15:04 lhain08