diff --git a/devdocs/todo.txt b/devdocs/todo.txt index 34d4b065..d4924e71 100644 --- a/devdocs/todo.txt +++ b/devdocs/todo.txt @@ -1,9 +1,6 @@ PRIORITY - ALWAYS Lowest level stuff first =-=-=-=- -todo: Log configuration into server log at startup? https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3523 - log all config settings into server log on boot - license? todo:aycontext clean up old block of weird definitions todo: apiokresponse returns readonly value every time, but I check it anyway at the client and biz object itself doesn't set it I don't think, so...should it be removed? todo: Is there a log that records past jobs, how long can they be viewed? diff --git a/server/AyaNova/models/AyContext.cs b/server/AyaNova/models/AyContext.cs index 5933db7d..82105b0f 100644 --- a/server/AyaNova/models/AyContext.cs +++ b/server/AyaNova/models/AyContext.cs @@ -129,27 +129,27 @@ namespace AyaNova.Models /////////////////////////////////////////////////////////////////////// //TODO: this entire block is almost certainly wrong or not required - //Indexes must be specified through fluent api unfortunately - modelBuilder.Entity().HasIndex(p => p.StoredFileName); + // //Indexes must be specified through fluent api unfortunately + // modelBuilder.Entity().HasIndex(p => p.StoredFileName); - //Relationships - modelBuilder.Entity() - .HasMany(c => c.TranslationItems) - .WithOne(e => e.Translation) - .IsRequired();//default delete behaviour is cascade when set to isrequired + // //Relationships + // modelBuilder.Entity() + // .HasMany(c => c.TranslationItems) + // .WithOne(e => e.Translation) + // .IsRequired();//default delete behaviour is cascade when set to isrequired - modelBuilder.Entity() - .HasOne(p => p.UserOptions) - .WithOne(i => i.User) - .HasForeignKey(b => b.UserId) - .OnDelete(DeleteBehavior.Cascade);//Hopefully will delete the useroptions with the user? + // modelBuilder.Entity() + // .HasOne(p => p.UserOptions) + // .WithOne(i => i.User) + // .HasForeignKey(b => b.UserId) + // .OnDelete(DeleteBehavior.Cascade);//Hopefully will delete the useroptions with the user? - //User->Widget Not certain about this definition - modelBuilder.Entity() - .HasOne(p => p.Widget) - .WithOne(i => i.User) - .HasForeignKey(b => b.UserId) - .OnDelete(DeleteBehavior.NoAction); + // //User->Widget Not certain about this definition + // modelBuilder.Entity() + // .HasOne(p => p.Widget) + // .WithOne(i => i.User) + // .HasForeignKey(b => b.UserId) + // .OnDelete(DeleteBehavior.NoAction); //////////////////////////////////////////////////////////////