refactor: remove obsolete project mode

This commit is contained in:
saturn
2026-03-25 15:39:16 +08:00
parent fd8f5f8635
commit ca5d8a58f7
47 changed files with 40 additions and 157 deletions

View File

@@ -0,0 +1,2 @@
ALTER TABLE `projects`
DROP COLUMN `mode`;

View File

@@ -353,7 +353,6 @@ model Project {
id String @id @default(uuid())
name String
description String? @db.Text
mode String @default("novel-promotion")
userId String
createdAt DateTime @default(now())
updatedAt DateTime @default(now()) @updatedAt

View File

@@ -347,7 +347,6 @@ model Project {
id String @id @default(uuid())
name String
description String?
mode String @default("novel-promotion")
userId String
createdAt DateTime @default(now())
updatedAt DateTime @default(now()) @updatedAt