feat(api): add sort_order column to categories

This commit is contained in:
yeuimu
2026-09-02 10:16:29 +08:00
parent d01c1e1b97
commit dc90712c4f
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -161,6 +161,7 @@ model Category {
categoryName String @map("category_name")
categoryIcon String? @map("category_icon")
sdsCategoryId String? @unique @map("sds_category_id")
sortOrder Int @default(0) @map("sort_order")
createdAt DateTime @default(now()) @map("created_at") @db.Timestamptz(6)
updatedAt DateTime @default(now()) @updatedAt @map("updated_at") @db.Timestamptz(6)