Ignore:
Timestamp:
10/14/21 17:55:51 (3 years ago)
Author:
Стојков Марко <mst@…>
Branches:
dev
Children:
7f1a891
Parents:
7dd2ea2
Message:

Get question state endpoint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/FinkiChattery/FinkiChattery.Persistence/Configurations/QuestionCategoryConfig.cs

    r7dd2ea2 rb25b9ea  
    2626
    2727            builder.HasOne(x => x.Question).WithMany(x => x.QuestionCategories).HasForeignKey(x => x.QuestionFk).OnDelete(DeleteBehavior.Restrict);
    28             builder.HasOne(x => x.Category).WithMany().HasForeignKey(x => x.QuestionFk).OnDelete(DeleteBehavior.Restrict);
     28            builder.HasOne(x => x.Category).WithMany().HasForeignKey(x => x.CategoryFk).OnDelete(DeleteBehavior.Restrict);
    2929        }
    3030    }
Note: See TracChangeset for help on using the changeset viewer.