diff options
author | crupest <crupest@outlook.com> | 2021-02-12 22:10:56 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-02-12 22:13:51 +0800 |
commit | 83de31a999132b052f1ccec75eb664c9e4a18e87 (patch) | |
tree | 079e6c09044d97c1ee07a83ca8c379facc8c3281 /BackEnd/Timeline/Entities/DatabaseContext.cs | |
parent | 1caf863b870d4b628533db8279e6e5758832eef0 (diff) | |
download | timeline-83de31a999132b052f1ccec75eb664c9e4a18e87.tar.gz timeline-83de31a999132b052f1ccec75eb664c9e4a18e87.tar.bz2 timeline-83de31a999132b052f1ccec75eb664c9e4a18e87.zip |
feat: Add databse custom migration service.
Diffstat (limited to 'BackEnd/Timeline/Entities/DatabaseContext.cs')
-rw-r--r-- | BackEnd/Timeline/Entities/DatabaseContext.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/BackEnd/Timeline/Entities/DatabaseContext.cs b/BackEnd/Timeline/Entities/DatabaseContext.cs index a0b59d1f..8ccdabb5 100644 --- a/BackEnd/Timeline/Entities/DatabaseContext.cs +++ b/BackEnd/Timeline/Entities/DatabaseContext.cs @@ -35,5 +35,7 @@ namespace Timeline.Entities public DbSet<JwtTokenEntity> JwtToken { get; set; } = default!;
public DbSet<DataEntity> Data { get; set; } = default!;
+
+ public DbSet<MigrationEntity> Migrations { get; set; } = default!;
}
}
|