Planned streams

This commit is contained in:
2024-08-28 11:02:47 +01:00
parent 51393b20f2
commit d6b55aef00
12 changed files with 695 additions and 32 deletions

View File

@ -227,7 +227,7 @@ namespace NostrStreamer.Migrations
.IsRequired()
.HasColumnType("text");
b.Property<Guid>("EndpointId")
b.Property<Guid?>("EndpointId")
.HasColumnType("uuid");
b.Property<DateTime?>("Ends")
@ -247,7 +247,8 @@ namespace NostrStreamer.Migrations
b.Property<string>("Image")
.HasColumnType("text");
b.Property<DateTime>("LastSegment")
b.Property<DateTime?>("LastSegment")
.IsRequired()
.HasColumnType("timestamp with time zone");
b.Property<decimal>("Length")
@ -457,9 +458,7 @@ namespace NostrStreamer.Migrations
{
b.HasOne("NostrStreamer.Database.IngestEndpoint", "Endpoint")
.WithMany()
.HasForeignKey("EndpointId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
.HasForeignKey("EndpointId");
b.HasOne("NostrStreamer.Database.User", "User")
.WithMany("Streams")