- Timestamp:
- 08/24/22 16:27:48 (2 years ago)
- Branches:
- master
- Children:
- 63f5ced
- Parents:
- a26f6a1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
resTools_backend/backend/Migrations/DataContextModelSnapshot.cs
ra26f6a1 ra569b7c 168 168 }); 169 169 170 modelBuilder.Entity("backend.Entities.ToDoItem", b => 171 { 172 b.Property<int>("Id") 173 .ValueGeneratedOnAdd() 174 .HasColumnType("integer"); 175 176 NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id")); 177 178 b.Property<DateTime>("CreatedAt") 179 .HasColumnType("timestamp with time zone"); 180 181 b.Property<string>("Description") 182 .IsRequired() 183 .HasColumnType("text"); 184 185 b.Property<int?>("LinkedReviewId") 186 .HasColumnType("integer"); 187 188 b.Property<int>("Priority") 189 .HasColumnType("integer"); 190 191 b.Property<int>("Status") 192 .HasColumnType("integer"); 193 194 b.Property<string>("Title") 195 .IsRequired() 196 .HasColumnType("text"); 197 198 b.HasKey("Id"); 199 200 b.HasIndex("LinkedReviewId"); 201 202 b.ToTable("ToDoItems"); 203 }); 204 170 205 modelBuilder.Entity("backend.Entities.User", b => 171 206 { … … 257 292 }); 258 293 294 modelBuilder.Entity("backend.Entities.ToDoItem", b => 295 { 296 b.HasOne("backend.Entities.Review", "LinkedReview") 297 .WithMany() 298 .HasForeignKey("LinkedReviewId"); 299 300 b.Navigation("LinkedReview"); 301 }); 302 259 303 modelBuilder.Entity("backend.Entities.Restaurant", b => 260 304 {
Note:
See TracChangeset
for help on using the changeset viewer.