upd: connected api

This commit is contained in:
2026-04-13 17:15:41 +08:00
parent 2cf96135f9
commit 65e9ed5ce6
3 changed files with 16 additions and 8 deletions

View File

@@ -0,0 +1,12 @@
/*
Warnings:
- The `app` column on the `bug` table would be dropped and recreated. This will lead to data loss if there is data in the column.
*/
-- AlterTable
ALTER TABLE "bug" DROP COLUMN "app",
ADD COLUMN "app" TEXT;
-- DropEnum
DROP TYPE "App";

View File

@@ -15,10 +15,6 @@ enum Role {
DEVELOPER
}
enum App{
desa_plus
hipmi
}
enum BugSource{
QC
@@ -90,7 +86,7 @@ model Log {
model Bug {
id String @id @default(uuid())
userId String?
app App
app String?
affectedVersion String
device String
os String