Working on some code cleanup, I thought I was nearing the end. Eventually leading to working on how to stream songs from the server but more work has to be done. I know I have integrated Auth0 but if this project is to be useful to others without having to configure Auth0 then I would like for it to be usable with a couple commands after cloning the repository. More work has to be done but I am close to the releasing the first version. Will update to the project on Github soon. #37

This commit is contained in:
amazing-username
2019-05-12 21:42:25 -04:00
parent dcc6ce6c83
commit d75d2924a7
7 changed files with 114 additions and 48 deletions
+3
View File
@@ -33,6 +33,9 @@ namespace Icarus.Models.Context
.WithMany(ar => ar.Songs)
.HasForeignKey(s => s.ArtistId)
.HasConstraintName("ForeignKey_Song_Artist");
modelBuilder.Entity<Song>()
.Property(s => s.Year)
.IsRequired(false);
}
}
}