aboutsummaryrefslogtreecommitdiff
path: root/src/Costasdev.Busurbano.ServiceViewer/Data/Migrations/AppDbContextModelSnapshot.cs
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-12-29 00:41:52 +0100
committerAriel Costas Guerrero <ariel@costas.dev>2025-12-29 00:41:52 +0100
commita304c24b32c0327436bbd8c2853e60668e161b42 (patch)
tree08f65c05daca134cf4d2e4f779bd15d98fd66370 /src/Costasdev.Busurbano.ServiceViewer/Data/Migrations/AppDbContextModelSnapshot.cs
parent120a3c6bddd0fb8d9fa05df4763596956554c025 (diff)
Rename a lot of stuff, add Santiago real time
Diffstat (limited to 'src/Costasdev.Busurbano.ServiceViewer/Data/Migrations/AppDbContextModelSnapshot.cs')
-rw-r--r--src/Costasdev.Busurbano.ServiceViewer/Data/Migrations/AppDbContextModelSnapshot.cs544
1 files changed, 0 insertions, 544 deletions
diff --git a/src/Costasdev.Busurbano.ServiceViewer/Data/Migrations/AppDbContextModelSnapshot.cs b/src/Costasdev.Busurbano.ServiceViewer/Data/Migrations/AppDbContextModelSnapshot.cs
deleted file mode 100644
index feb3813..0000000
--- a/src/Costasdev.Busurbano.ServiceViewer/Data/Migrations/AppDbContextModelSnapshot.cs
+++ /dev/null
@@ -1,544 +0,0 @@
-// <auto-generated />
-using System;
-using Costasdev.ServiceViewer.Data;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using NetTopologySuite.Geometries;
-using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
-
-#nullable disable
-
-namespace Data.Migrations
-{
- [DbContext(typeof(AppDbContext))]
- partial class AppDbContextModelSnapshot : ModelSnapshot
- {
- protected override void BuildModel(ModelBuilder modelBuilder)
- {
-#pragma warning disable 612, 618
- modelBuilder
- .HasAnnotation("ProductVersion", "10.0.1")
- .HasAnnotation("Relational:MaxIdentifierLength", 63);
-
- NpgsqlModelBuilderExtensions.HasPostgresExtension(modelBuilder, "postgis");
- NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
-
- modelBuilder.Entity("Costasdev.ServiceViewer.Data.Gtfs.Feed", b =>
- {
- b.Property<int>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("integer");
-
- NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
-
- b.Property<string>("DownloadUrl")
- .IsRequired()
- .HasMaxLength(255)
- .HasColumnType("character varying(255)");
-
- b.Property<string>("Etag")
- .IsRequired()
- .HasMaxLength(32)
- .HasColumnType("character varying(32)");
-
- b.Property<DateTime>("InsertedAt")
- .HasColumnType("timestamp with time zone");
-
- b.Property<string>("LongName")
- .IsRequired()
- .HasMaxLength(32)
- .HasColumnType("character varying(32)");
-
- b.Property<string>("ShortName")
- .IsRequired()
- .HasMaxLength(32)
- .HasColumnType("character varying(32)");
-
- b.HasKey("Id");
-
- b.ToTable("feeds");
- });
-
- modelBuilder.Entity("Costasdev.ServiceViewer.Data.Gtfs.GtfsAgency", b =>
- {
- b.Property<string>("Id")
- .HasMaxLength(255)
- .HasColumnType("character varying(255)")
- .HasColumnName("agency_id");
-
- b.Property<int>("FeedId")
- .HasColumnType("integer")
- .HasColumnName("feed_id");
-
- b.Property<string>("Email")
- .HasMaxLength(255)
- .HasColumnType("character varying(255)")
- .HasColumnName("agency_email");
-
- b.Property<string>("FareUrl")
- .HasMaxLength(255)
- .HasColumnType("character varying(255)")
- .HasColumnName("agency_fare_url");
-
- b.Property<string>("Language")
- .IsRequired()
- .HasMaxLength(5)
- .HasColumnType("character varying(5)")
- .HasColumnName("agency_lang");
-
- b.Property<string>("Name")
- .IsRequired()
- .HasMaxLength(255)
- .HasColumnType("character varying(255)")
- .HasColumnName("agency_name");
-
- b.Property<string>("Phone")
- .HasMaxLength(30)
- .HasColumnType("character varying(30)")
- .HasColumnName("agency_phone");
-
- b.Property<string>("Timezone")
- .IsRequired()
- .HasMaxLength(50)
- .HasColumnType("character varying(50)")
- .HasColumnName("agency_timezone");
-
- b.Property<string>("Url")
- .IsRequired()
- .HasMaxLength(255)
- .HasColumnType("character varying(255)")
- .HasColumnName("agency_url");
-
- b.HasKey("Id", "FeedId");
-
- b.HasIndex("FeedId");
-
- b.ToTable("gtfs_agencies");
- });
-
- modelBuilder.Entity("Costasdev.ServiceViewer.Data.Gtfs.GtfsCalendar", b =>
- {
- b.Property<string>("ServiceId")
- .HasMaxLength(32)
- .HasColumnType("character varying(32)")
- .HasColumnName("service_id");
-
- b.Property<int>("FeedId")
- .HasColumnType("integer")
- .HasColumnName("feed_id");
-
- b.Property<DateOnly>("EndDate")
- .HasColumnType("date")
- .HasColumnName("end_date");
-
- b.Property<bool>("Friday")
- .HasColumnType("boolean")
- .HasColumnName("friday");
-
- b.Property<bool>("Monday")
- .HasColumnType("boolean")
- .HasColumnName("monday");
-
- b.Property<bool>("Saturday")
- .HasColumnType("boolean")
- .HasColumnName("saturday");
-
- b.Property<DateOnly>("StartDate")
- .HasColumnType("date")
- .HasColumnName("start_date");
-
- b.Property<bool>("Sunday")
- .HasColumnType("boolean")
- .HasColumnName("sunday");
-
- b.Property<bool>("Thursday")
- .HasColumnType("boolean")
- .HasColumnName("thursday");
-
- b.Property<bool>("Tuesday")
- .HasColumnType("boolean")
- .HasColumnName("tuesday");
-
- b.Property<bool>("Wednesday")
- .HasColumnType("boolean")
- .HasColumnName("wednesday");
-
- b.HasKey("ServiceId", "FeedId");
-
- b.HasIndex("FeedId");
-
- b.ToTable("gtfs_calendar");
- });
-
- modelBuilder.Entity("Costasdev.ServiceViewer.Data.Gtfs.GtfsCalendarDate", b =>
- {
- b.Property<string>("ServiceId")
- .HasMaxLength(32)
- .HasColumnType("character varying(32)")
- .HasColumnName("service_id");
-
- b.Property<DateTime>("Date")
- .HasColumnType("timestamp with time zone")
- .HasColumnName("date");
-
- b.Property<int>("FeedId")
- .HasColumnType("integer")
- .HasColumnName("feed_id");
-
- b.Property<int>("ExceptionType")
- .HasColumnType("integer")
- .HasColumnName("exception_type");
-
- b.HasKey("ServiceId", "Date", "FeedId");
-
- b.HasIndex("FeedId");
-
- b.ToTable("gtfs_calendar_dates");
- });
-
- modelBuilder.Entity("Costasdev.ServiceViewer.Data.Gtfs.GtfsRoute", b =>
- {
- b.Property<string>("Id")
- .HasMaxLength(255)
- .HasColumnType("character varying(255)")
- .HasColumnName("route_id");
-
- b.Property<int>("FeedId")
- .HasColumnType("integer")
- .HasColumnName("feed_id");
-
- b.Property<string>("AgencyId")
- .IsRequired()
- .HasMaxLength(255)
- .HasColumnType("character varying(255)")
- .HasColumnName("agency_id");
-
- b.Property<string>("Color")
- .HasMaxLength(7)
- .HasColumnType("character varying(7)")
- .HasColumnName("route_color");
-
- b.Property<string>("Description")
- .HasMaxLength(255)
- .HasColumnType("character varying(255)")
- .HasColumnName("route_desc");
-
- b.Property<string>("LongName")
- .IsRequired()
- .HasMaxLength(255)
- .HasColumnType("character varying(255)")
- .HasColumnName("route_long_name");
-
- b.Property<string>("ShortName")
- .IsRequired()
- .HasMaxLength(32)
- .HasColumnType("character varying(32)")
- .HasColumnName("route_short_name");
-
- b.Property<int>("SortOrder")
- .HasColumnType("integer")
- .HasColumnName("route_sort_order");
-
- b.Property<string>("TextColor")
- .HasMaxLength(7)
- .HasColumnType("character varying(7)")
- .HasColumnName("route_text_color");
-
- b.Property<int>("Type")
- .HasColumnType("integer")
- .HasColumnName("route_type");
-
- b.Property<string>("Url")
- .HasMaxLength(255)
- .HasColumnType("character varying(255)")
- .HasColumnName("route_url");
-
- b.HasKey("Id", "FeedId");
-
- b.HasIndex("FeedId");
-
- b.HasIndex("AgencyId", "FeedId");
-
- b.ToTable("gtfs_routes");
- });
-
- modelBuilder.Entity("Costasdev.ServiceViewer.Data.Gtfs.GtfsStop", b =>
- {
- b.Property<string>("Id")
- .HasMaxLength(32)
- .HasColumnType("character varying(32)")
- .HasColumnName("stop_id");
-
- b.Property<int>("FeedId")
- .HasColumnType("integer")
- .HasColumnName("feed_id");
-
- b.Property<string>("Code")
- .IsRequired()
- .HasMaxLength(32)
- .HasColumnType("character varying(32)")
- .HasColumnName("stop_code");
-
- b.Property<string>("Description")
- .HasMaxLength(255)
- .HasColumnType("character varying(255)")
- .HasColumnName("stop_desc");
-
- b.Property<string>("Name")
- .IsRequired()
- .HasMaxLength(255)
- .HasColumnType("character varying(255)")
- .HasColumnName("stop_name");
-
- b.Property<Point>("Position")
- .HasColumnType("geometry")
- .HasColumnName("stop_pos");
-
- b.Property<string>("Timezone")
- .HasMaxLength(50)
- .HasColumnType("character varying(50)")
- .HasColumnName("stop_timezone");
-
- b.Property<string>("Url")
- .HasMaxLength(255)
- .HasColumnType("character varying(255)")
- .HasColumnName("stop_url");
-
- b.Property<int>("WheelchairBoarding")
- .HasColumnType("integer")
- .HasColumnName("wheelchair_boarding");
-
- b.HasKey("Id", "FeedId");
-
- b.HasIndex("FeedId");
-
- b.ToTable("gtfs_stops");
- });
-
- modelBuilder.Entity("Costasdev.ServiceViewer.Data.Gtfs.GtfsStopTime", b =>
- {
- b.Property<string>("TripId")
- .HasMaxLength(32)
- .HasColumnType("character varying(32)")
- .HasColumnName("trip_id");
-
- b.Property<int>("StopSequence")
- .HasColumnType("integer")
- .HasColumnName("stop_sequence");
-
- b.Property<int>("FeedId")
- .HasColumnType("integer")
- .HasColumnName("feed_id");
-
- b.Property<string>("Arrival")
- .IsRequired()
- .HasColumnType("text")
- .HasColumnName("arrival_time");
-
- b.Property<string>("Departure")
- .IsRequired()
- .HasColumnType("text")
- .HasColumnName("departure_time");
-
- b.Property<double?>("ShapeDistTraveled")
- .HasColumnType("double precision")
- .HasColumnName("shape_dist_traveled");
-
- b.Property<string>("StopId")
- .IsRequired()
- .HasMaxLength(32)
- .HasColumnType("character varying(32)")
- .HasColumnName("stop_id");
-
- b.HasKey("TripId", "StopSequence", "FeedId");
-
- b.HasIndex("FeedId");
-
- b.HasIndex("StopId", "FeedId");
-
- b.HasIndex("TripId", "FeedId");
-
- b.ToTable("gtfs_stop_times");
- });
-
- modelBuilder.Entity("Costasdev.ServiceViewer.Data.Gtfs.GtfsTrip", b =>
- {
- b.Property<string>("Id")
- .HasMaxLength(32)
- .HasColumnType("character varying(32)")
- .HasColumnName("trip_id");
-
- b.Property<int>("FeedId")
- .HasColumnType("integer")
- .HasColumnName("feed_id");
-
- b.Property<string>("BlockId")
- .HasMaxLength(32)
- .HasColumnType("character varying(32)")
- .HasColumnName("block_id");
-
- b.Property<int>("DirectionId")
- .HasColumnType("integer")
- .HasColumnName("direction_id");
-
- b.Property<string>("RouteId")
- .IsRequired()
- .HasMaxLength(32)
- .HasColumnType("character varying(32)")
- .HasColumnName("route_id");
-
- b.Property<string>("ServiceId")
- .IsRequired()
- .HasMaxLength(32)
- .HasColumnType("character varying(32)")
- .HasColumnName("service_id");
-
- b.Property<string>("ShapeId")
- .HasMaxLength(32)
- .HasColumnType("character varying(32)")
- .HasColumnName("shape_id");
-
- b.Property<int>("TripBikesAllowed")
- .ValueGeneratedOnAdd()
- .HasColumnType("integer")
- .HasDefaultValue(0)
- .HasColumnName("trip_bikes_allowed");
-
- b.Property<string>("TripHeadsign")
- .HasMaxLength(255)
- .HasColumnType("character varying(255)")
- .HasColumnName("trip_headsign");
-
- b.Property<string>("TripShortName")
- .HasMaxLength(255)
- .HasColumnType("character varying(255)")
- .HasColumnName("trip_short_name");
-
- b.Property<int>("TripWheelchairAccessible")
- .ValueGeneratedOnAdd()
- .HasColumnType("integer")
- .HasDefaultValue(0)
- .HasColumnName("trip_wheelchair_accessible");
-
- b.HasKey("Id", "FeedId");
-
- b.HasIndex("FeedId");
-
- b.HasIndex("RouteId", "FeedId");
-
- b.ToTable("gtfs_trips");
- });
-
- modelBuilder.Entity("Costasdev.ServiceViewer.Data.Gtfs.GtfsAgency", b =>
- {
- b.HasOne("Costasdev.ServiceViewer.Data.Gtfs.Feed", "Feed")
- .WithMany()
- .HasForeignKey("FeedId")
- .OnDelete(DeleteBehavior.Cascade)
- .IsRequired();
-
- b.Navigation("Feed");
- });
-
- modelBuilder.Entity("Costasdev.ServiceViewer.Data.Gtfs.GtfsCalendar", b =>
- {
- b.HasOne("Costasdev.ServiceViewer.Data.Gtfs.Feed", "Feed")
- .WithMany()
- .HasForeignKey("FeedId")
- .OnDelete(DeleteBehavior.Cascade)
- .IsRequired();
-
- b.Navigation("Feed");
- });
-
- modelBuilder.Entity("Costasdev.ServiceViewer.Data.Gtfs.GtfsCalendarDate", b =>
- {
- b.HasOne("Costasdev.ServiceViewer.Data.Gtfs.Feed", "Feed")
- .WithMany()
- .HasForeignKey("FeedId")
- .OnDelete(DeleteBehavior.Cascade)
- .IsRequired();
-
- b.Navigation("Feed");
- });
-
- modelBuilder.Entity("Costasdev.ServiceViewer.Data.Gtfs.GtfsRoute", b =>
- {
- b.HasOne("Costasdev.ServiceViewer.Data.Gtfs.Feed", "Feed")
- .WithMany()
- .HasForeignKey("FeedId")
- .OnDelete(DeleteBehavior.Cascade)
- .IsRequired();
-
- b.HasOne("Costasdev.ServiceViewer.Data.Gtfs.GtfsAgency", "Agency")
- .WithMany()
- .HasForeignKey("AgencyId", "FeedId")
- .OnDelete(DeleteBehavior.Cascade)
- .IsRequired();
-
- b.Navigation("Agency");
-
- b.Navigation("Feed");
- });
-
- modelBuilder.Entity("Costasdev.ServiceViewer.Data.Gtfs.GtfsStop", b =>
- {
- b.HasOne("Costasdev.ServiceViewer.Data.Gtfs.Feed", "Feed")
- .WithMany()
- .HasForeignKey("FeedId")
- .OnDelete(DeleteBehavior.Cascade)
- .IsRequired();
-
- b.Navigation("Feed");
- });
-
- modelBuilder.Entity("Costasdev.ServiceViewer.Data.Gtfs.GtfsStopTime", b =>
- {
- b.HasOne("Costasdev.ServiceViewer.Data.Gtfs.Feed", "Feed")
- .WithMany()
- .HasForeignKey("FeedId")
- .OnDelete(DeleteBehavior.Cascade)
- .IsRequired();
-
- b.HasOne("Costasdev.ServiceViewer.Data.Gtfs.GtfsStop", "GtfsStop")
- .WithMany()
- .HasForeignKey("StopId", "FeedId")
- .OnDelete(DeleteBehavior.Cascade)
- .IsRequired();
-
- b.HasOne("Costasdev.ServiceViewer.Data.Gtfs.GtfsTrip", "GtfsTrip")
- .WithMany()
- .HasForeignKey("TripId", "FeedId")
- .OnDelete(DeleteBehavior.Cascade)
- .IsRequired();
-
- b.Navigation("Feed");
-
- b.Navigation("GtfsStop");
-
- b.Navigation("GtfsTrip");
- });
-
- modelBuilder.Entity("Costasdev.ServiceViewer.Data.Gtfs.GtfsTrip", b =>
- {
- b.HasOne("Costasdev.ServiceViewer.Data.Gtfs.Feed", "Feed")
- .WithMany()
- .HasForeignKey("FeedId")
- .OnDelete(DeleteBehavior.Cascade)
- .IsRequired();
-
- b.HasOne("Costasdev.ServiceViewer.Data.Gtfs.GtfsRoute", "Route")
- .WithMany()
- .HasForeignKey("RouteId", "FeedId")
- .OnDelete(DeleteBehavior.Cascade)
- .IsRequired();
-
- b.Navigation("Feed");
-
- b.Navigation("Route");
- });
-#pragma warning restore 612, 618
- }
- }
-}