sourcebot/packages/db
Michael Sukkarieh fdd71cfcfe
add better visualization for connection/repo errors and warnings (#201)
* replace upsert with seperate create many and raw update many calls

* add bulk repo status update and queue addition with priority

* add support for managed redis

* add note for changing raw sql on schema change

* add error package and use BackendException in connection manager

* handle connection failure display on web app

* add warning banner for not found orgs/repos/users

* add failure handling for gerrit

* add gitea notfound warning support

* add warning icon in connections list

* style nits

* add failed repo vis in connections list

* added retry failed repo index buttons

* move nav indicators to client with polling

* fix indicator flash issue and truncate large list results

* display error nav better

* truncate failed repo list in connection list item

* fix merge error

* fix merge bug

* add connection util file [wip]

* refactor notfound fetch logic and add missing error package to dockerfile

* move repeated logic to function and add zod schema for syncStatusMetadata
2025-02-19 18:10:22 -08:00
..
prisma add better visualization for connection/repo errors and warnings (#201) 2025-02-19 18:10:22 -08:00
src SQL Database (#157) 2025-01-14 13:37:31 -08:00
.gitignore init (#176) 2025-01-23 14:06:40 -08:00
package.json remove package lock file and fix prisma dep version 2025-02-13 13:55:18 -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.