Skip to content

Commit 4412783

Browse files
committed
Merge remote-tracking branch 'origin/dev' into HNT-682-title-capitalizatio-rules
2 parents 88c708b + b6d34b1 commit 4412783

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
-- AlterTable
2+
ALTER TABLE `Section` ADD COLUMN `description` VARCHAR(255) NULL,
3+
ADD COLUMN `endDate` DATE NULL,
4+
ADD COLUMN `heroDescription` VARCHAR(255) NULL,
5+
ADD COLUMN `heroTitle` VARCHAR(255) NULL,
6+
ADD COLUMN `startDate` DATE NULL;

servers/curated-corpus-api/prisma/schema.prisma

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ model Section {
108108
// note - for ML-generated Sections, externalId will be set by ML
109109
externalId String @unique @default(uuid()) @db.VarChar(255)
110110
title String @db.VarChar(255)
111+
description String? @db.VarChar(255)
112+
heroTitle String? @db.VarChar(255)
113+
heroDescription String? @db.VarChar(255)
111114
scheduledSurfaceGuid String @db.VarChar(50)
112115
// optional IAB info as as JSON blob: {taxonomy: 'IAB-3.0', categories: string[])
113116
iab Json?
@@ -129,6 +132,8 @@ model Section {
129132
deactivatedAt DateTime?
130133
createdAt DateTime @default(now())
131134
updatedAt DateTime @updatedAt
135+
startDate DateTime? @db.Date
136+
endDate DateTime? @db.Date
132137
133138
// relations
134139
sectionItems SectionItem[]

0 commit comments

Comments
 (0)