diff options
| author | transtrike <transtrike@gmail.com> | 2020-12-10 11:28:23 +0200 |
|---|---|---|
| committer | transtrike <transtrike@gmail.com> | 2020-12-10 11:28:23 +0200 |
| commit | 4e4ad8b4ba9938cc3f32bce3c606d73560267604 (patch) | |
| tree | 811559069901902256e8cf96fbcb850548367069 /API/Database | |
| parent | cec7ddcbfaf46443b14bc0bc119cc8b0ff5579b0 (diff) | |
| download | DevHive-4e4ad8b4ba9938cc3f32bce3c606d73560267604.tar DevHive-4e4ad8b4ba9938cc3f32bce3c606d73560267604.tar.gz DevHive-4e4ad8b4ba9938cc3f32bce3c606d73560267604.zip | |
Testig API with HTTP Post in User
Diffstat (limited to 'API/Database')
| -rw-r--r-- | API/Database/DevHiveContext.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/API/Database/DevHiveContext.cs b/API/Database/DevHiveContext.cs index 6db137a..c20e9eb 100644 --- a/API/Database/DevHiveContext.cs +++ b/API/Database/DevHiveContext.cs @@ -19,6 +19,12 @@ namespace API.Database builder.Entity<User>() .HasKey(x => x.Id); + builder.Entity<Language>() + .HasKey(x => x.Id); + + builder.Entity<Technology>() + .HasKey(x => x.Id); + base.OnModelCreating(builder); } } |
