Skip to content

Commit 99ae171

Browse files
committed
fix: remove all length limits from scraped Episode string fields
timeline: String(50) violated for multi-range timelines (e.g. 59 chars). title: String(255) is tight for long episode page titles (72 chars seen). All scraped text fields are now unbounded String, matching the pattern used by Film and Show for director/producer/network etc.
1 parent d29500b commit 99ae171

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cap/db/schema.cds

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,14 +579,14 @@ annotate Show2People with {
579579
*/
580580
entity Episode : cuid, managed {
581581
show : Association to Show;
582-
title : String(255) @mandatory;
582+
title : String @mandatory;
583583
season_number : Integer;
584584
episode_number: Integer;
585585
air_date : Date;
586586
director : String;
587587
writer : String;
588588
runtime : Integer; // minutes
589-
timeline : String(50); // e.g. "19 BBY"
589+
timeline : String; // e.g. "19 BBY"
590590
}
591591

592592
entity Episode2People : cuid, managed { episode: Association to Episode; people: Association to People; }

0 commit comments

Comments
 (0)