diff options
author | 杨宇千 <crupest@outlook.com> | 2019-07-27 21:47:14 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-27 21:47:14 +0800 |
commit | dc8269f1034d155e74ea4807d44c755fb83a7630 (patch) | |
tree | 572a2ae5c65c484718b3bfda68fd8babc56fe6f2 /Timeline/Migrations/DatabaseContextModelSnapshot.cs | |
parent | f0a317cc511a4a7b04a701c32881d1e3331f3711 (diff) | |
parent | cccaf4cfdc1b932882768975f409763c22ed1ee1 (diff) | |
download | timeline-dc8269f1034d155e74ea4807d44c755fb83a7630.tar.gz timeline-dc8269f1034d155e74ea4807d44c755fb83a7630.tar.bz2 timeline-dc8269f1034d155e74ea4807d44c755fb83a7630.zip |
Merge pull request #25 from crupest/auth
Refactor a lot, especially authentication.
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"); |