Commit Graph

6 Commits

Author SHA1 Message Date
Oliver Eyton-Williams
962f45475c fix(api): improve schema accuracy (#50626) 2023-06-07 14:08:37 +02:00
Sem Bauke
c5deeccd3f feat: update my username endpoint (#50271)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-06-02 07:04:50 +02:00
Oliver Eyton-Williams
2f77513a6a fix(api): update new api schema (#50500)
* fix(api): remove unused parts of schema

isX are unused and prisma does not care what's in the db if you do not
ask for it.

* fix: add isCollegeAlgebraPyCertV8
2023-05-24 20:37:57 +03:00
Muhammed Mustafa
9e905b58e1 feat(api): add json protocol to prisma client (#50418) 2023-05-18 17:16:53 +04:00
Shaun Hamilton
651e1905fd chore(api): pull prod db schema (#49735)
* chore(api): pull prod db schema

* manual user model schema

* adjust json types

* temp: fix object type

* adjust schema with Json types

* fix: oliver found my bugs 🐛

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* ttl to int, remove github from user

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* fix: remove unused parts of the prisma schema

---------

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-05-16 07:28:39 +03:00
Oliver Eyton-Williams
fa7955dc75 feat(api): add prisma as orm (#49413) 2023-03-14 17:29:55 +00:00