feat(Notes) notes are now markdown. Documents WIP
This commit is contained in:
@@ -7,13 +7,11 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
||||
<DefineConstants>TRACE;
|
||||
NO_SQL;</DefineConstants>
|
||||
<DefineConstants>TRACE;</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||
<DefineConstants>TRACE;
|
||||
NO_SQL;</DefineConstants>
|
||||
<DefineConstants>TRACE;</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
#else
|
||||
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Model.Documentation;
|
||||
using Model.Immortal.Notes;
|
||||
using Model.Website;
|
||||
using Model.Work.Git;
|
||||
using Model.Work.Tasks;
|
||||
@@ -20,7 +22,10 @@ public class DatabaseContext : DbContext {
|
||||
public DbSet<PatchModel> PatchModels { get; set; }
|
||||
public DbSet<WebPageModel> WebPageModels { get; set; }
|
||||
public DbSet<WebSectionModel> WebSectionModels { get; set; }
|
||||
|
||||
|
||||
public DbSet<DocumentationModel> DocumentationModels { get; set; }
|
||||
public DbSet<NoteModel> NoteModels { get; set; }
|
||||
|
||||
protected override void OnModelCreating(ModelBuilder modelBuilder) {
|
||||
modelBuilder.Entity<PatchModel>();
|
||||
modelBuilder.Entity<TaskModel>();
|
||||
|
||||
Reference in New Issue
Block a user