sourcebot/packages/db
Michael Sukkarieh 7c6adf17aa
Multi tenancy support in config syncer (#171)
* [wip] initial mt support in config syncer

* Move logout button & profile picture into settings dropdown (#172)

* update sync status properly and fix bug with multiple config in db case

* make config path required in single tenant mode

NOTE: deleting config/repos is currently not supported in multi tenancy case. Support for this will be added in a future PR

---------

Co-authored-by: Brendan Kellam <bshizzle1234@gmail.com>
2025-01-21 11:50:35 -08:00
..
prisma Multi tenancy support in config syncer (#171) 2025-01-21 11:50:35 -08:00
src SQL Database (#157) 2025-01-14 13:37:31 -08:00
.env SQL Database (#157) 2025-01-14 13:37:31 -08:00
.gitignore SQL Database (#157) 2025-01-14 13:37:31 -08:00
package.json SQL Database (#157) 2025-01-14 13:37:31 -08:00
README.md SQL Database (#157) 2025-01-14 13:37:31 -08:00
tsconfig.json SQL Database (#157) 2025-01-14 13:37:31 -08:00

This package contains the database schema (prisma/schema.prisma), migrations (prisma/migrations) and the client library for interacting with the database. Before making edits to the schema, please read about prisma's migration model to get an idea of how migrations work.