diff options
author | 杨宇千 <crupest@outlook.com> | 2019-07-20 17:52:30 +0800 |
---|---|---|
committer | 杨宇千 <crupest@outlook.com> | 2019-07-20 17:52:30 +0800 |
commit | a97a7c58c6d7b998432cbe3b09cedee463c46653 (patch) | |
tree | be100242d13e0745f01a77b59cacca1025814f84 /Timeline/Migrations/DatabaseContextModelSnapshot.cs | |
parent | f0a317cc511a4a7b04a701c32881d1e3331f3711 (diff) | |
download | timeline-a97a7c58c6d7b998432cbe3b09cedee463c46653.tar.gz timeline-a97a7c58c6d7b998432cbe3b09cedee463c46653.tar.bz2 timeline-a97a7c58c6d7b998432cbe3b09cedee463c46653.zip |
Add version column in user database.
Diffstat (limited to 'Timeline/Migrations/DatabaseContextModelSnapshot.cs')
-rw-r--r-- | Timeline/Migrations/DatabaseContextModelSnapshot.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Timeline/Migrations/DatabaseContextModelSnapshot.cs b/Timeline/Migrations/DatabaseContextModelSnapshot.cs index a833d2dc..7d244969 100644 --- a/Timeline/Migrations/DatabaseContextModelSnapshot.cs +++ b/Timeline/Migrations/DatabaseContextModelSnapshot.cs @@ -13,7 +13,7 @@ namespace Timeline.Migrations { #pragma warning disable 612, 618 modelBuilder - .HasAnnotation("ProductVersion", "2.2.3-servicing-35854") + .HasAnnotation("ProductVersion", "2.2.6-servicing-10079") .HasAnnotation("Relational:MaxIdentifierLength", 64); modelBuilder.Entity("Timeline.Models.User", b => @@ -34,6 +34,9 @@ namespace Timeline.Migrations .IsRequired() .HasColumnName("roles"); + b.Property<long>("Version") + .HasColumnName("version"); + b.HasKey("Id"); b.ToTable("user"); |