feat(ST-509): add optional description column (max 2000 chars) to Todo
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
af76453dc1
commit
318cb1e1f9
3 changed files with 4 additions and 1 deletions
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 324 KiB After Width: | Height: | Size: 326 KiB |
|
|
@ -0,0 +1,2 @@
|
|||
-- AlterTable
|
||||
ALTER TABLE "todos" ADD COLUMN "description" VARCHAR(2000);
|
||||
|
|
@ -226,6 +226,7 @@ model Todo {
|
|||
product Product? @relation(fields: [product_id], references: [id], onDelete: SetNull)
|
||||
product_id String?
|
||||
title String
|
||||
description String? @db.VarChar(2000)
|
||||
done Boolean @default(false)
|
||||
archived Boolean @default(false)
|
||||
created_at DateTime @default(now())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue